[Bug 55500] [sna gen4 w/a] corrupt rendering (including wrong rendering of characters and flickering on redraw)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 7 09:46:18 PST 2014


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

--- Comment #157 from Chris Wilson <chris at chris-wilson.co.uk> ---
Something worth experimenting with is detuning the GPU, e.g.:


diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index e239c21..bc6af68 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -52,7 +52,7 @@
  */
 #define FORCE_SPANS 0
 #define FORCE_NONRECTILINEAR_SPANS -1
-#define FORCE_FLUSH 1 /* https://bugs.freedesktop.org/show_bug.cgi?id=55500 */
+#define FORCE_FLUSH 0 /* https://bugs.freedesktop.org/show_bug.cgi?id=55500 */

 #define NO_COMPOSITE 0
 #define NO_COMPOSITE_SPANS 0
@@ -74,7 +74,7 @@
 #define URB_CS_ENTRIES          0

 #define URB_VS_ENTRY_SIZE     1
-#define URB_VS_ENTRIES          32
+#define URB_VS_ENTRIES          16

 #define URB_GS_ENTRY_SIZE     0
 #define URB_GS_ENTRIES          0
@@ -83,7 +83,7 @@
 #define URB_CL_ENTRIES      0

 #define URB_SF_ENTRY_SIZE     2
-#define URB_SF_ENTRIES          64
+#define URB_SF_ENTRIES          1

 /*
  * this program computes dA/dx and dA/dy for the texture coordinates along
@@ -93,9 +93,9 @@
 #define SF_KERNEL_NUM_GRF 16
 #define PS_KERNEL_NUM_GRF 32

-#define GEN4_MAX_SF_THREADS 24
-#define GEN4_MAX_WM_THREADS 32
-#define G4X_MAX_WM_THREADS 50
+#define GEN4_MAX_SF_THREADS 8
+#define GEN4_MAX_WM_THREADS 16
+#define G4X_MAX_WM_THREADS 16

 static const uint32_t ps_kernel_packed_static[][4] = {
 #include "exa_wm_xy.g4b"

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140107/5713249e/attachment.html>


More information about the intel-gfx-bugs mailing list