xf86-video-intel: src/sna/kgem.c

Chris Wilson ickle at kemper.freedesktop.org
Wed Jun 25 00:03:36 PDT 2014


 src/sna/kgem.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 3f4da671b0a570de8734cc668d8e8975c2fdbd90
Author: Chris Wilson <chris at chris-wilson.co.uk>
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 <chris at chris-wilson.co.uk>

diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index dfaf878..d17647d 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 https://bugs.freedesktop.org/show_bug.cgi?id=79053 */
+
 	if (posix_memalign(&ptr, PAGE_SIZE, PAGE_SIZE))
 		return false;
 


More information about the xorg-commit mailing list