glamor: Don't flush in BlockHandler with Xorg >= 1.19
PATCH 1/1 glamor: Don't flush in BlockHandler with Xorg >= 1.19
From: Michel Dänzer <[email protected]>
This was only necessary with older versions for driving the FBO cache expiry mechanism.
Signed-off-by Michel Dänzer <[email protected]>
--- src/amdgpu_kms.c | 2 ++ 1 file changed, 2 insertions(+)
src/amdgpu_kms.c +2 -0
@@ -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);
Signature · 6 lines
2.11.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20170306094950.992-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org
Alex Deucher
Reviewed-byQuoted 6 lines · Michel Dänzer
From: Michel Dänzer <[email protected]>
This was only necessary with older versions for driving the FBO cache expiry mechanism.
Signed-off-by Michel Dänzer <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Quoted 22 lines
--- src/amdgpu_kms.c | 2 ++ 1 file changed, 2 insertions(+)src/amdgpu_kms.c +2
-1@@ -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); --2.11.0
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx