]> 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 13:27:02 +0000 (09:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:40:04 +0000 (16:40 -0500)
commitad49e081cc9b7214c8f19c105f499629107e40ba
tree33102852708da14aa169475ac09b04a8df138708
parent607d96d41c4aa5ec1c2d79e56bc30b23ae864dc6
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.

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