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:
6f2f48a
)
drm/radeon: use aperture size not vram size for overlap tests
author
Dave Airlie
<airlied@redhat.com>
Mon, 20 Dec 2010 00:54:48 +0000
(10:54 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 20 Dec 2010 00:54:48 +0000
(10:54 +1000)
This fixes a problem where the wrong card conflicts with vesafb in my
x2 system.
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 efa211898fe60204a424b98cdb9295ea2ee99356..6abea32be5e83b80346f5c79b0a966c66c194a7c 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_fb.c
+++ b/
drivers/gpu/drm/radeon/radeon_fb.c
@@
-245,7
+245,7
@@
static int radeonfb_create(struct radeon_fbdev *rfbdev,
goto out_unref;
}
info->apertures->ranges[0].base = rdev->ddev->mode_config.fb_base;
- info->apertures->ranges[0].size = rdev->mc.
real_vram
_size;
+ info->apertures->ranges[0].size = rdev->mc.
aper
_size;
info->fix.mmio_start = 0;
info->fix.mmio_len = 0;