projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b42db2b
)
drm/radeon: set fb aperture sizes for framebuffer handoff.
author
Dave Airlie
<airlied@redhat.com>
Wed, 29 Jul 2009 07:07:38 +0000
(17:07 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 29 Jul 2009 07:07:38 +0000
(17:07 +1000)
This will allow efi/vesa to handoff to radeon.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_fb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_fb.c
b/drivers/gpu/drm/radeon/radeon_fb.c
index 36d2f5588f20c748103985ef2537d989c847fab3..3206c0ad7b6c3c9a292c7b6ba13fc38e9e2badcb 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_fb.c
+++ b/
drivers/gpu/drm/radeon/radeon_fb.c
@@
-602,6
+602,11
@@
int radeonfb_create(struct radeon_device *rdev,
info->var.width = -1;
info->var.xres = fb_width;
info->var.yres = fb_height;
+
+ /* setup aperture base/size for vesafb takeover */
+ info->aperture_base = rdev->ddev->mode_config.fb_base;
+ info->aperture_size = rdev->mc.real_vram_size;
+
info->fix.mmio_start = 0;
info->fix.mmio_len = 0;
info->pixmap.size = 64*1024;