aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/radeon/radeon_fb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c
index 09987089193e..9e8f191eb64a 100644
--- a/drivers/gpu/drm/radeon/radeon_fb.c
+++ b/drivers/gpu/drm/radeon/radeon_fb.c
@@ -551,7 +551,7 @@ int radeonfb_create(struct radeon_device *rdev,
551 info->fix.xpanstep = 1; /* doing it in hw */ 551 info->fix.xpanstep = 1; /* doing it in hw */
552 info->fix.ypanstep = 1; /* doing it in hw */ 552 info->fix.ypanstep = 1; /* doing it in hw */
553 info->fix.ywrapstep = 0; 553 info->fix.ywrapstep = 0;
554 info->fix.accel = FB_ACCEL_I830; 554 info->fix.accel = FB_ACCEL_NONE;
555 info->fix.type_aux = 0; 555 info->fix.type_aux = 0;
556 info->flags = FBINFO_DEFAULT; 556 info->flags = FBINFO_DEFAULT;
557 info->fbops = &radeonfb_ops; 557 info->fbops = &radeonfb_ops;
@@ -572,8 +572,8 @@ int radeonfb_create(struct radeon_device *rdev,
572 info->var.width = -1; 572 info->var.width = -1;
573 info->var.xres = fb_width; 573 info->var.xres = fb_width;
574 info->var.yres = fb_height; 574 info->var.yres = fb_height;
575 info->fix.mmio_start = pci_resource_start(rdev->pdev, 2); 575 info->fix.mmio_start = 0;
576 info->fix.mmio_len = pci_resource_len(rdev->pdev, 2); 576 info->fix.mmio_len = 0;
577 info->pixmap.size = 64*1024; 577 info->pixmap.size = 64*1024;
578 info->pixmap.buf_align = 8; 578 info->pixmap.buf_align = 8;
579 info->pixmap.access_align = 32; 579 info->pixmap.access_align = 32;