]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: adding ycbcr420 pixel encoding for hdmi
authorMikita Lipski <mikita.lipski@amd.com>
Wed, 4 Jul 2018 21:26:26 +0000 (17:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 15:19:18 +0000 (10:19 -0500)
commit86d78c00c5c4d4f61de020b01513883d6d223550
tree80e3e9b2be3d00e1f75d70f7c1bae95f2fb2ca02
parente814257c188d0a4980a86689174d36549dee089f
drm/amd/display: adding ycbcr420 pixel encoding for hdmi

[why]
HDMI EDID's VSDB contains spectial timings for specifically
YCbCr 4:2:0 colour space. In those cases we need to verify
if the mode provided is one of the special ones has to use
YCbCr 4:2:0 pixel encoding for display info.
[how]
Verify if the mode is using specific ycbcr420 colour space with
the help of DRM helper function and assign the mode to use
ycbcr420 pixel encoding.

Tested-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c