diff options
author | Dave Airlie <airlied@redhat.com> | 2010-08-23 08:27:47 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-23 08:27:47 +1000 |
commit | 4dfe947e74a1de3eb638cc36d51bf56d6609057b (patch) | |
tree | e8ae53c554ecabb2e7536f285528ea98d78b5982 /drivers/gpu/drm/radeon/radeon_fb.c | |
parent | d033af87e2a215a57ac2bbc47e0d7a544f2afcc4 (diff) | |
download | kernel_samsung_smdk4412-4dfe947e74a1de3eb638cc36d51bf56d6609057b.zip kernel_samsung_smdk4412-4dfe947e74a1de3eb638cc36d51bf56d6609057b.tar.gz kernel_samsung_smdk4412-4dfe947e74a1de3eb638cc36d51bf56d6609057b.tar.bz2 |
drm/radeon: fix passing wrong type to gem object create.
We are passing a ttm type when we want to pass true/false.
Reported-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_fb.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c index dc1634b..11f4f30 100644 --- a/drivers/gpu/drm/radeon/radeon_fb.c +++ b/drivers/gpu/drm/radeon/radeon_fb.c @@ -118,7 +118,7 @@ static int radeonfb_create_pinned_object(struct radeon_fbdev *rfbdev, aligned_size = ALIGN(size, PAGE_SIZE); ret = radeon_gem_object_create(rdev, aligned_size, 0, RADEON_GEM_DOMAIN_VRAM, - false, ttm_bo_type_kernel, + false, true, &gobj); if (ret) { printk(KERN_ERR "failed to allocate framebuffer (%d)\n", |