]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix test pattern color space inconsistency for Linux
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Mon, 2 Mar 2020 14:55:10 +0000 (09:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2020 04:03:04 +0000 (00:03 -0400)
commite6335aa9e1e9a7728c474e635744a0615589f4bf
treeb617fe39ba59ec17c387a9bc899fea3f0d3490a1
parented34230381ec51ec9118c208a9c2aed6b54cde3d
drm/amd/display: Fix test pattern color space inconsistency for Linux

[why]
When reprogram MSA with updated color space, the test color space shows
inconsistency. Linux has separate routine to set up test pattern color
space, but it fails to configure RGB.

[How]
Add RGB to test pattern.

Fixes: 42c66a8b3aa6d2 ("drm/amd/display: update MSA and VSC SDP on video test pattern request")
Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c