]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix stuck test pattern on right half of display
authorZi Yu Liao <ziyu.liao@amd.com>
Tue, 6 Aug 2019 15:58:09 +0000 (11:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:42:11 +0000 (11:42 -0500)
commit596e08649fd6e3815d5bec55872112f663dcb2cd
tree606e6774ccdbbe88985578e2366116b4f552cb39
parentb089ddf4266ad6b3969664f6ff93e2aa95673d98
drm/amd/display: fix stuck test pattern on right half of display

[why]
With visual confirm enabled, displays where ODM combine is enabled
has a test pattern stuck on the right half of the display even
though the display is unblanked.

[how]
Add a condition to not show the colour ramp test pattern when the
display is unblanked.

Signed-off-by: Zi Yu Liao <ziyu.liao@amd.com>
Reviewed-by: Eric Yang <eric.yang2@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/dcn20/dcn20_hwseq.c