drm/amd/display: wait for vblank during pipe programming
authorHaiyi Zhou <Haiyi.Zhou@amd.com>
Thu, 20 Oct 2022 15:46:54 +0000 (11:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Oct 2022 18:44:10 +0000 (14:44 -0400)
commit203ccaf586446b578909de1b763278033fb74b51
treeee1bde98c0c2c3e63657b267704f717de275f300
parent6bf20b9ba7863ecfa14f5b4171f719256b787b34
drm/amd/display: wait for vblank during pipe programming

[WHY]
Skipping vblank during global sync update request can result in
underflow on certain displays.

[HOW]
Roll back to the previous behavior where DC waits for vblank during pipe
programming.

Fixes: 5d3e14421410 ("drm/amd/display: do not wait for vblank during pipe programming")
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Haiyi Zhou <Haiyi.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c