diff --git a/src/amdgpu_kms.c b/src/amdgpu_kms.c index 7ec610f..622a146 100644 --- a/src/amdgpu_kms.c +++ b/src/amdgpu_kms.c @@ -983,7 +983,8 @@ amdgpu_scanout_flip(ScreenPtr pScreen, AMDGPUInfoPtr info, if (drmmode_crtc->scanout_update_pending || drmmode_crtc->flip_pending || - drmmode_crtc->dpms_mode != DPMSModeOn) + drmmode_crtc->dpms_mode != DPMSModeOn || + !drmmode_crtc->scanout_damage) return; scanout_id = drmmode_crtc->scanout_id ^ 1;