summaryrefslogtreecommitdiff
path: root/linux-core/radeon_fb.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-10-16 10:51:31 +1000
committerDave Airlie <airlied@redhat.com>2008-10-16 10:51:31 +1000
commitd958cd7bb95558aa6c49824e2ae2b302f1433d2e (patch)
treefcc96465b0ed6b4fe275538863523dfdfda0ba4b /linux-core/radeon_fb.c
parent11320fd6b106c1255f3fad0860cb4da71697b46a (diff)
radeon: use discardable flags on no backing store objects
Diffstat (limited to 'linux-core/radeon_fb.c')
-rw-r--r--linux-core/radeon_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/radeon_fb.c b/linux-core/radeon_fb.c
index 8c9461da..8d4181e8 100644
--- a/linux-core/radeon_fb.c
+++ b/linux-core/radeon_fb.c
@@ -728,7 +728,7 @@ int radeonfb_create(struct drm_device *dev, uint32_t fb_width, uint32_t fb_heigh
size = mode_cmd.pitch * mode_cmd.height;
aligned_size = ALIGN(size, PAGE_SIZE);
- fbo = radeon_gem_object_alloc(dev, aligned_size, 1, RADEON_GEM_DOMAIN_VRAM);
+ fbo = radeon_gem_object_alloc(dev, aligned_size, 1, RADEON_GEM_DOMAIN_VRAM, 0);
if (!fbo) {
printk(KERN_ERR "failed to allocate framebuffer\n");
ret = -ENOMEM;