Re: [PATCH v3 xserver] modesetting: fix glamor ifdef

2016-10-18 Thread Jon Turney

On 15/10/2016 05:13, Mihail Konev wrote:

Add a missing ifdef needed for --disable-glamor.

Signed-off-by: Mihail Konev 


Reviewed-by: Jon Turney 
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

[PATCH v3 xserver] modesetting: fix glamor ifdef

2016-10-14 Thread Mihail Konev
Add a missing ifdef needed for --disable-glamor.

Signed-off-by: Mihail Konev 
---
v2,3: edit description

Perhaps Regressed-in shouldn't be there.

 hw/xfree86/drivers/modesetting/driver.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/xfree86/drivers/modesetting/driver.c 
b/hw/xfree86/drivers/modesetting/driver.c
index 216388f0a36c..3da69a3962a0 100644
--- a/hw/xfree86/drivers/modesetting/driver.c
+++ b/hw/xfree86/drivers/modesetting/driver.c
@@ -594,6 +594,7 @@ redisplay_dirty(ScreenPtr screen, PixmapDirtyUpdatePtr 
dirty, int *timeout)
 PixmapSyncDirtyHelper(dirty);
 
 if (!screen->isGPU) {
+#ifdef GLAMOR
 /*
  * When copying from the master framebuffer to the shared pixmap,
  * we must ensure the copy is complete before the slave starts a
@@ -602,6 +603,7 @@ redisplay_dirty(ScreenPtr screen, PixmapDirtyUpdatePtr 
dirty, int *timeout)
  */
 if (ms->drmmode.glamor)
 glamor_finish(screen);
+#endif
 /* Ensure the slave processes the damage immediately */
 if (timeout)
 *timeout = 0;
-- 
2.9.2

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel