]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/nouveau: fix booting with plymouth + dumb support
authorDave Airlie <airlied@redhat.com>
Fri, 14 Sep 2012 03:28:23 +0000 (13:28 +1000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Sep 2012 14:05:24 +0000 (15:05 +0100)
commit 610bd7da160f76f1644ecb4cd7f39511b49a22cc upstream.

We noticed a plymouth bug on Fedora 18, and I then
noticed this stupid thinko, fixing it fixed the problem
with plymouth.

Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/nouveau/nouveau_display.c

index b12fd2c80812d002e0840787e8ff47481a3691a2..6adef062e9868728283cbf6075349ad377f144c5 100644 (file)
@@ -381,7 +381,7 @@ nouveau_display_dumb_create(struct drm_file *file_priv, struct drm_device *dev,
        args->size = args->pitch * args->height;
        args->size = roundup(args->size, PAGE_SIZE);
 
-       ret = nouveau_gem_new(dev, args->size, 0, TTM_PL_FLAG_VRAM, 0, 0, &bo);
+       ret = nouveau_gem_new(dev, args->size, 0, NOUVEAU_GEM_DOMAIN_VRAM, 0, 0, &bo);
        if (ret)
                return ret;