[Bug 28630] [r300g] tiling / texture transfer crash in World of Warcraft

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 29 12:05:36 PDT 2010


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

--- Comment #6 from Chris Rankin <rankincj at googlemail.com> 2010-06-29 12:05:36 PDT ---
(In reply to comment #4)
> I believe the "data" pointer is not valid.

Or possibly the context.flush field has not been assigned? I am having curious
success with this simple patch:

--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -125,7 +125,9 @@ static void r300_flush_cb(void *data)
 {
     struct r300_context* const cs_context_copy = data;

-    cs_context_copy->context.flush(&cs_context_copy->context, 0, NULL);
+    if (cs_context_copy->context.flush) {
+        cs_context_copy->context.flush(&cs_context_copy->context, 0, NULL);
+    }
 }

 #define R300_INIT_ATOM(atomname, atomsize) \

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list