mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
drm/radeon: set fb aperture sizes for framebuffer handoff.
This will allow efi/vesa to handoff to radeon. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
b42db2b12d
commit
ed8f0d9e70
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue