projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d033af8
)
drm/radeon: fix passing wrong type to gem object create.
author
Dave Airlie
<airlied@redhat.com>
Sun, 22 Aug 2010 22:27:47 +0000
(08:27 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 22 Aug 2010 22:27:47 +0000
(08:27 +1000)
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>
drivers/gpu/drm/radeon/radeon_fb.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_fb.c
b/drivers/gpu/drm/radeon/radeon_fb.c
index dc1634bb0c11e7f0bdcda150e330fa5fa1523c2c..11f4f30ded5de1f601e54bb20384683e67a2c283 100644
(file)
--- 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, t
tm_bo_type_kernel
,
+ false, t
rue
,
&gobj);
if (ret) {
printk(KERN_ERR "failed to allocate framebuffer (%d)\n",