]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Enable colorspace programming for LSPCON devices
authorUma Shankar <uma.shankar@intel.com>
Mon, 30 Nov 2020 20:47:31 +0000 (02:17 +0530)
committerUma Shankar <uma.shankar@intel.com>
Tue, 1 Dec 2020 19:59:52 +0000 (01:29 +0530)
commit1503c66f0ce2e8dda487e24e101503019f7bf3e5
treec899ec4889257d8bfcbda9bf70da267189d4eec1
parenta46163f87dd87114379c10c19a8223be934aece5
drm/i915/display: Enable colorspace programming for LSPCON devices

Enable HDMI Colorspace for LSPCON based devices. Sending Colorimetry
data for HDR using AVI infoframe. LSPCON firmware expects this and though
SOC drives DP, for HDMI panel AVI infoframe is sent to the LSPCON device
which transfers the same to HDMI sink.

v2: Dropped state managed in drm core as per Jani Nikula's suggestion.

v3: Aligned colorimetry handling for lspcon as per compute_avi_infoframes,
as suggested by Ville.

v4: Finally fixed this with Ville's help, re-phrased the commit header
and description.

v5: Register HDMI colorspace for lspcon and move this to
intel_dp_add_properties as we can't create property at late_register.

Credits-to: Ville Syrjälä <ville.syrjala@linux.intel.com>
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-9-uma.shankar@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_lspcon.c