diff options
author | Uma Shankar <uma.shankar@intel.com> | 2020-12-01 02:17:26 +0530 |
---|---|---|
committer | Uma Shankar <uma.shankar@intel.com> | 2020-12-02 01:22:29 +0530 |
commit | 2e666613b24e3c7d2ae5cf5c1e264751bb5b2a8f (patch) | |
tree | 6c9a14e9e09af24b01dcf44dd9233bda3376fd9f /drivers/gpu/drm/i915/display/intel_lspcon.h | |
parent | 1a911350dd6c777b4a08ca60fe6e2249fd3c254a (diff) | |
download | linux-2e666613b24e3c7d2ae5cf5c1e264751bb5b2a8f.tar.gz linux-2e666613b24e3c7d2ae5cf5c1e264751bb5b2a8f.tar.bz2 linux-2e666613b24e3c7d2ae5cf5c1e264751bb5b2a8f.zip |
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
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_lspcon.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_lspcon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_lspcon.h b/drivers/gpu/drm/i915/display/intel_lspcon.h index 98043ba50dd4..42ccb21c908f 100644 --- a/drivers/gpu/drm/i915/display/intel_lspcon.h +++ b/drivers/gpu/drm/i915/display/intel_lspcon.h @@ -15,6 +15,7 @@ struct intel_digital_port; struct intel_encoder; struct intel_lspcon; +bool lspcon_init(struct intel_digital_port *dig_port); void lspcon_detect_hdr_capability(struct intel_lspcon *lspcon); void lspcon_resume(struct intel_digital_port *dig_port); void lspcon_wait_pcon_mode(struct intel_lspcon *lspcon); |