[Bug 95069] [DRI2][PRIME] display black window when enable GPU offloading
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 22 15:15:17 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=95069
--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
Try with just:
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 48dcb58..1e9546d 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -1098,6 +1098,8 @@ static unsigned small_copy(const RegionRec *region)
}
#ifdef CREATE_PIXMAP_USAGE_SHARED
+#undef DBG
+#define DBG(x) ErrorF x
static Bool
sna_share_pixmap_backing(PixmapPtr pixmap, ScreenPtr slave, void **fd_handle)
{
@@ -1290,6 +1292,8 @@ sna_create_pixmap_shared(struct sna *sna, ScreenPtr
screen,
return pixmap;
}
+#undef DBG
+#define DBG(x)
#endif
static PixmapPtr sna_create_pixmap(ScreenPtr screen,
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160422/c136a54a/attachment.html>
More information about the intel-gfx-bugs
mailing list