]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: The external monitor will show gray screen during SUT reboot
authoryanyan kang <Yanyan.Kang@amd.com>
Mon, 20 Apr 2020 06:40:43 +0000 (14:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2020 17:11:56 +0000 (13:11 -0400)
commit6478140b7655d7992e1936935ad8fa36fc97d2c3
tree21a6e14125e00070c96dd1c7cb85c7bf73b11253
parentbc4b5dd3bdb073ae5ab80343bea20b725b2d4546
drm/amd/display: The external monitor will show gray screen during SUT reboot

[Why]
same with CL#1711022(correcting yuv420 black color in function dcn10_blank_pixel_data,program_scaler),
yuv420 black color also needs to be correct when enabling HDMI stream at the resume procedure.

[How]
correcting the yuv420 black color according to the way how 420 is packed :2 channels carry Y component,
1 channel alternate between Cb and Cr.

Signed-off-by: yanyan kang <Yanyan.Kang@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c