Comment 37 for bug 1401788

Revision history for this message
In , Chris Wilson (ickle) wrote :

Meh, I can do

diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index dfaf878..6a9543d 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -1063,6 +1063,9 @@ static bool test_has_userptr(struct kgem *kgem)
        if (kgem->gen == 040)
                return false;

+ if (kgem->gem >= 0100)
+ return false; /* FIXME */
+
        if (posix_memalign(&ptr, PAGE_SIZE, PAGE_SIZE))
                return false;

to hide the issue until fixed. In fact, done. Please let me know if they are another issues that show up on bdw that may help explain this.

commit 3f4da671b0a570de8734cc668d8e8975c2fdbd90
Author: Chris Wilson <email address hidden>
Date: Wed Jun 25 08:01:57 2014 +0100

    sna: Disable userptr for bdw

    Something fishy is afoot. But let's kill this particularly worrisome
    regression so that we can do a full round of testing.

    References: https://bugs.freedesktop.org/show_bug.cgi?id=79053
    Signed-off-by: Chris Wilson <email address hidden>