aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/radeon/radeon_fb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c
index 36d2f5588f20..3206c0ad7b6c 100644
--- 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,
602 info->var.width = -1; 602 info->var.width = -1;
603 info->var.xres = fb_width; 603 info->var.xres = fb_width;
604 info->var.yres = fb_height; 604 info->var.yres = fb_height;
605
606 /* setup aperture base/size for vesafb takeover */
607 info->aperture_base = rdev->ddev->mode_config.fb_base;
608 info->aperture_size = rdev->mc.real_vram_size;
609
605 info->fix.mmio_start = 0; 610 info->fix.mmio_start = 0;
606 info->fix.mmio_len = 0; 611 info->fix.mmio_len = 0;
607 info->pixmap.size = 64*1024; 612 info->pixmap.size = 64*1024;