diff options
author | Dave Airlie <airlied@redhat.com> | 2012-09-14 05:28:23 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-09-14 07:45:01 +0200 |
commit | 610bd7da160f76f1644ecb4cd7f39511b49a22cc (patch) | |
tree | e308cdca7f8b159155d99512f4afe8b82397d523 /drivers/gpu/drm/nouveau/nouveau_display.c | |
parent | Merge branch 'drm-fixes-3.6' of git://people.freedesktop.org/~agd5f/linux int... (diff) | |
download | linux-610bd7da160f76f1644ecb4cd7f39511b49a22cc.tar.xz linux-610bd7da160f76f1644ecb4cd7f39511b49a22cc.zip |
drm/nouveau: fix booting with plymouth + dumb support
We noticed a plymouth bug on Fedora 18, and I then
noticed this stupid thinko, fixing it fixed the problem
with plymouth.
Cc: stable@vger.kernel.org
Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index 69688ef5cf46..7e16dc5e6467 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -598,7 +598,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; |