OSDN Git Service

drm/amd/display: Wait for VBLANK during pipe programming
authorAlvin Lee <Alvin.Lee2@amd.com>
Mon, 24 Oct 2022 17:39:02 +0000 (13:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Nov 2022 22:24:14 +0000 (17:24 -0500)
commit00efc965a7b7990e63e3506e6d240e6271bd8571
treeeab1bba696ad88e86d6fca73c0cfa6ed3171aa95
parentf9e69496450352fa0504fd5a8fd9134b31116558
drm/amd/display: Wait for VBLANK during pipe programming

[Description]
- Wait for vblank during front end programming
  for global sync to ensure all double buffer
  updates take.
- This prevents underflow in some cases.

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c