drm/display: Move SCDC helpers into display-helper library
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 21 Apr 2022 07:31:08 +0000 (09:31 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 25 Apr 2022 09:19:37 +0000 (11:19 +0200)
commit644edf52b6305506ba7fd552323c1dfaa9cf6d8d
tree6ad7a83eb54e7972808f89061265379f59157c7d
parent4fc8cb47fcfdc93e274a1291757e478df4f9c39b
drm/display: Move SCDC helpers into display-helper library

SCDC is the Status and Control Data Channel for HDMI. Move the SCDC
helpers into display/ and split the header into files for core and
helpers. Update all affected drivers. No functional changes.

To avoid the proliferation of Kconfig options, SCDC is part of DRM's
support for HDMI. If necessary, a new option could make SCDC an
independent feature.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220421073108.19226-9-tzimmermann@suse.de
17 files changed:
Documentation/gpu/drm-kms-helpers.rst
drivers/gpu/drm/Makefile
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
drivers/gpu/drm/display/Makefile
drivers/gpu/drm/display/drm_scdc_helper.c [new file with mode: 0644]
drivers/gpu/drm/drm_edid.c
drivers/gpu/drm/drm_scdc_helper.c [deleted file]
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_hdmi.c
drivers/gpu/drm/nouveau/Kconfig
drivers/gpu/drm/nouveau/dispnv50/disp.c
drivers/gpu/drm/tegra/Kconfig
drivers/gpu/drm/tegra/sor.c
drivers/gpu/drm/vc4/vc4_hdmi.c
include/drm/display/drm_scdc.h [new file with mode: 0644]
include/drm/display/drm_scdc_helper.h [new file with mode: 0644]
include/drm/drm_scdc_helper.h [deleted file]