OSDN Git Service

drm/i915/display: Extend DP HDR support to hsw+
authorUma Shankar <uma.shankar@intel.com>
Thu, 24 Mar 2022 12:04:38 +0000 (17:34 +0530)
committerUma Shankar <uma.shankar@intel.com>
Mon, 28 Mar 2022 16:42:58 +0000 (22:12 +0530)
commit7e4e0e5c38493b81cef7e2d6420d85bf783eb73d
tree63a7fbd1376111c3fd1f643c54f34bfc2536558b
parent3fd6afb623ba0f908af4f81794ccdff4dd5e671e
drm/i915/display: Extend DP HDR support to hsw+

HSW+ platforms are able to send out HDR Metadata SDP DIP
packet as GMP. Hence, extending the support for HDR on DP
encoders for the same.

v2: Limited to non eDP ports on hsw/bdw and removed it for
lspcon as it is done separately (suggested by Ville)

v3: Added helper and limited eDP restriction to port A (Ville)

v4: Dropped some redundant checks (Ville)

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/5389
Cc: 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/20220324120438.1876445-1-uma.shankar@intel.com
drivers/gpu/drm/i915/display/intel_dp.c