diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-02-09 23:42:08 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-02-24 15:45:40 -0500 |
commit | 6ba9a68317781537d6184d3fdb2d0f20c97da3a4 (patch) | |
tree | 8d4a1335d09868883da891f96e54e624d4209241 /drivers/gpu/drm/nouveau/nouveau_fbcon.c | |
parent | a67047883410ee37d27806bb8415a84673934b4f (diff) |
drm/nouveau: pass domain rather than ttm flags to gem_new()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_fbcon.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_fbcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.c b/drivers/gpu/drm/nouveau/nouveau_fbcon.c index 9d7a98876074..889c4454682e 100644 --- a/drivers/gpu/drm/nouveau/nouveau_fbcon.c +++ b/drivers/gpu/drm/nouveau/nouveau_fbcon.c | |||
@@ -296,8 +296,8 @@ nouveau_fbcon_create(struct nouveau_fbdev *nfbdev, | |||
296 | size = mode_cmd.pitch * mode_cmd.height; | 296 | size = mode_cmd.pitch * mode_cmd.height; |
297 | size = roundup(size, PAGE_SIZE); | 297 | size = roundup(size, PAGE_SIZE); |
298 | 298 | ||
299 | ret = nouveau_gem_new(dev, dev_priv->channel, size, 0, TTM_PL_FLAG_VRAM, | 299 | ret = nouveau_gem_new(dev, dev_priv->channel, size, 0, |
300 | 0, 0x0000, &nvbo); | 300 | NOUVEAU_GEM_DOMAIN_VRAM, 0, 0x0000, &nvbo); |
301 | if (ret) { | 301 | if (ret) { |
302 | NV_ERROR(dev, "failed to allocate framebuffer\n"); | 302 | NV_ERROR(dev, "failed to allocate framebuffer\n"); |
303 | goto out; | 303 | goto out; |