drm/amd/display: add vsc update support for test pattern request
authorWenjing Liu <Wenjing.Liu@amd.com>
Wed, 22 Jan 2020 16:55:48 +0000 (11:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:29:40 +0000 (00:29 -0500)
commite8f9ecf261fe1de0213710ce1fc53d5ca75d96ce
tree5d4eb0922b6312f6a8f080a44addb66ff70bb823
parent3c1fcc55425094e3593a2d2d03c93a24b85f564a
drm/amd/display: add vsc update support for test pattern request

[how]
Allow vsc info packet if vsc is supported.  Update vsc based on test
pattern request.  Remove dpg_is_blanked polling, apply hardware global
lock instead to ensure double buffered dpg is updated with vsc in one
frame

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@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