]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: wait for the whole frame after global unlock
authorWenjing Liu <Wenjing.Liu@amd.com>
Tue, 11 Jun 2019 22:18:36 +0000 (18:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:19 +0000 (14:17 -0500)
commit152c15540243c72603a5902db5bed5bf816eb026
tree832fafb2a9f8118669e32d342ff09cdb801a7c0d
parentfb94a601438d0281bb7441e650cae7f49508c125
drm/amd/display: wait for the whole frame after global unlock

[why]
The current code will not wait for the entire frame
 after global unlock.
This causes dsc dynamic target bpp update corruption when
there is a surface update immediately happens after this.

[how]
Wait for the entire whole frame after unlock before continuing
the rest of stream and surface update.

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c