mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
present: Wait for GPU idle before setting modes for unflip
To make sure the screen pixmap contents are up to date when it starts being scanned out. (Ported from radeon commit 244d4bc7f8c8f6bc90f49556c0b9344c8aa40295) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
012ffffb45
commit
f6a3c87c30
@@ -378,6 +378,7 @@ modeset:
|
||||
old_fb_id = info->drmmode.fb_id;
|
||||
info->drmmode.fb_id = 0;
|
||||
|
||||
amdgpu_glamor_finish(scrn);
|
||||
for (i = 0; i < config->num_crtc; i++) {
|
||||
xf86CrtcPtr crtc = config->crtc[i];
|
||||
drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
|
||||
|
||||
Reference in New Issue
Block a user