[Bug 90725] Display chunks with xorg intel driver with Accel & when using swap space

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 29 12:37:06 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90725

--- Comment #11 from Chris Wilson <chris at chris-wilson.co.uk> ---
Ok, swizzle path looks most suspicious here. All the rendering is done as a
XCopyArea from a ShmPixmap which basically results in manual detiling through
WC mmap.

Can you please test which of

diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 463f65f..853da31 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -86,7 +86,7 @@ search_snoop_cache(struct kgem *kgem, unsigned int num_pages,
unsigned flags);
 #define DBG_NO_WC_MMAP 0
 #define DBG_NO_BLT_Y 0
 #define DBG_NO_SCANOUT_Y 0
-#define DBG_NO_DETILING 0
+#define DBG_NO_DETILING 1
 #define DBG_DUMP 0
 #define DBG_NO_MALLOC_CACHE 0

or

diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 463f65f..251a299 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -83,7 +83,7 @@ search_snoop_cache(struct kgem *kgem, unsigned int num_pages,
unsigned flags);
 #define DBG_NO_FAST_RELOC 0
 #define DBG_NO_HANDLE_LUT 0
 #define DBG_NO_WT 0
-#define DBG_NO_WC_MMAP 0
+#define DBG_NO_WC_MMAP 1
 #define DBG_NO_BLT_Y 0
 #define DBG_NO_SCANOUT_Y 0
 #define DBG_NO_DETILING 0

fixes the issue. I think either of them will fix the kdm corruption, so they
require a little soak testing (pretty much try and reproduce the earlier
swapping -> corruption issue).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150529/3afb40c1/attachment.html>


More information about the intel-gfx-bugs mailing list