]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Attach HDR property for capable Gen9 devices
authorUma Shankar <uma.shankar@intel.com>
Mon, 30 Nov 2020 20:47:26 +0000 (02:17 +0530)
committerUma Shankar <uma.shankar@intel.com>
Tue, 1 Dec 2020 19:52:29 +0000 (01:22 +0530)
commit482944277611c3e44fd24d4779c811fcbc652ed5
tree6c9a14e9e09af24b01dcf44dd9233bda3376fd9f
parent21355b8ed7ebed5bc8f8d2bcd57716862b8d89c9
drm/i915/display: Attach HDR property for capable Gen9 devices

Attach HDR property for Gen9 devices with MCA LSPCON
chips.

v2: Cleaned HDR property attachment logic based on capability
as per Jani Nikula's suggestion.

v3: Fixed the HDR property attachment logic as per the new changes
by Kai-Feng to align with lspcon detection failure on some devices.

v4: Add HDR proprty in late_register to handle lspcon detection,
as suggested by Ville.

v5: Init Lspcon only if advertized from BIOS.

v6: Added a Todo to plan a cleanup later, added Ville's RB.

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-4-uma.shankar@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_lspcon.c
drivers/gpu/drm/i915/display/intel_lspcon.h