From e5dfb6c2667994701ee451bf82c4142cbf343405 Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Wed, 18 Mar 2015 16:23:24 +0900 Subject: glamor: Add Option "ShadowPrimary" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When this option is enabled, most pixmaps (including the screen pixmap) are allocated in system RAM and mostly accessed by the CPU. Changed areas of the screen pixmap are copied to dedicated per-CRTC scanout pixmaps regularly, triggered by the vblank interrupt. (Cherry picked from radeon commits ae92d1765fa370a8d94c2856ad6c45d273ec3c69 and 1af044d7eee211fd4b248c236280274a68334da5) [ Michel Dänzer: Additional adjustements for the amdgpu driver ] Signed-off-by: Darren Powell Reviewed-by: Alex Deucher --- src/amdgpu_dri2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/amdgpu_dri2.c') diff --git a/src/amdgpu_dri2.c b/src/amdgpu_dri2.c index 28c56e7..bdb0d37 100644 --- a/src/amdgpu_dri2.c +++ b/src/amdgpu_dri2.c @@ -116,6 +116,7 @@ static PixmapPtr fixup_glamor(DrawablePtr drawable, PixmapPtr pixmap) old->drawable.width, old->drawable.height, 0, 0, priv->stride, NULL); + old->devPrivate.ptr = NULL; return old; } -- cgit v1.2.3