mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
glamor: Don't flush in BlockHandler with Xorg >= 1.19
This was only necessary with older versions for driving the FBO cache expiry mechanism. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
86907a5e4c
commit
947017194d
@@ -1035,8 +1035,10 @@ static void AMDGPUBlockHandler_KMS(BLOCKHANDLER_ARGS_DECL)
|
||||
}
|
||||
}
|
||||
|
||||
#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,19,0,0,0)
|
||||
if (info->use_glamor)
|
||||
amdgpu_glamor_flush(pScrn);
|
||||
#endif
|
||||
|
||||
#ifdef AMDGPU_PIXMAP_SHARING
|
||||
amdgpu_dirty_update(pScrn);
|
||||
|
||||
Reference in New Issue
Block a user