]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: cache additional dpcd caps for HDR capability check
authorHarmanprit Tatla <Harmanprit.Tatla@amd.com>
Fri, 1 Mar 2019 16:47:35 +0000 (11:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Mar 2019 04:39:48 +0000 (23:39 -0500)
commitd1df7b7537f43af65bbbd260ca78af885a602f94
tree296e8b40f4f81c41b471c3a0555dbb0e17f84244
parent233a66f22e063ff5673b95da059740be48e22896
drm/amd/display: cache additional dpcd caps for HDR capability check

[Why]
Currently we are missing a few checks to see if HDR10 is allowed.
In particular we never check for the extended colorimetry bit (whether its
present or set to 1). Further we don't read in the dpcd block in DC that
would provide these bits.

[How]
- Added in DC code to read in the block containing the extended colorimetry
bit.

Signed-off-by: Harmanprit Tatla <Harmanprit.Tatla@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dc_dp_types.h