drm/i915/display: Attach content type property for LSPCON
authorUma Shankar <uma.shankar@intel.com>
Mon, 30 Nov 2020 20:47:29 +0000 (02:17 +0530)
committerUma Shankar <uma.shankar@intel.com>
Tue, 1 Dec 2020 19:52:31 +0000 (01:22 +0530)
commitb983675709e07523c5e8bacfcfa153a49f7eca7f
tree8bb6d1775c28d9776f8e37edec6b57ca160174a9
parent55b1f9ddf41d369f2d480596822c6d17817a8d78
drm/i915/display: Attach content type property for LSPCON

Content type is supported on HDMI sink devices. Attached the
property for the same for LSPCON based devices.

v2: Added the content type programming when we are attaching
the property to connector, as suggested by Ville.

v3: Need to attach content type on intel_dp_add_properties
as creating of new properties is not possible at late_register.

Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201130204738.2443-7-uma.shankar@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_lspcon.c