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

Chris Wilson ickle at kemper.freedesktop.org
Wed Jun 25 00:05:35 PDT 2014


 src/sna/kgem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ea6b0bb8e1b358d728d80daac936ec6521154302
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Jun 25 08:05:22 2014 +0100

    sna: And fix the typo...
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index d17647d..24cd11e 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -1063,7 +1063,7 @@ static bool test_has_userptr(struct kgem *kgem)
 	if (kgem->gen == 040)
 		return false;
 
-	if (kgem->gem >= 0100)
+	if (kgem->gen >= 0100)
 		return false; /* FIXME https://bugs.freedesktop.org/show_bug.cgi?id=79053 */
 
 	if (posix_memalign(&ptr, PAGE_SIZE, PAGE_SIZE))


More information about the xorg-commit mailing list