diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_fb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index d6ffea74a502..41086e98059e 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c | |||
@@ -616,7 +616,7 @@ void drm_fb_helper_fill_fix(struct fb_info *info, uint32_t pitch) | |||
616 | info->fix.xpanstep = 1; /* doing it in hw */ | 616 | info->fix.xpanstep = 1; /* doing it in hw */ |
617 | info->fix.ypanstep = 1; /* doing it in hw */ | 617 | info->fix.ypanstep = 1; /* doing it in hw */ |
618 | info->fix.ywrapstep = 0; | 618 | info->fix.ywrapstep = 0; |
619 | info->fix.accel = FB_ACCEL_I830; | 619 | info->fix.accel = FB_ACCEL_NONE; |
620 | info->fix.type_aux = 0; | 620 | info->fix.type_aux = 0; |
621 | 621 | ||
622 | info->fix.line_length = pitch; | 622 | info->fix.line_length = pitch; |
diff --git a/drivers/gpu/drm/i915/intel_fb.c b/drivers/gpu/drm/i915/intel_fb.c index 3041530c3673..7ba4a232a97f 100644 --- a/drivers/gpu/drm/i915/intel_fb.c +++ b/drivers/gpu/drm/i915/intel_fb.c | |||
@@ -205,7 +205,7 @@ static int intelfb_create(struct drm_device *dev, uint32_t fb_width, | |||
205 | 205 | ||
206 | // memset(info->screen_base, 0, size); | 206 | // memset(info->screen_base, 0, size); |
207 | 207 | ||
208 | drm_fb_helper_fill_fix(info, fb->depth); | 208 | drm_fb_helper_fill_fix(info, fb->pitch); |
209 | drm_fb_helper_fill_var(info, fb, fb_width, fb_height); | 209 | drm_fb_helper_fill_var(info, fb, fb_width, fb_height); |
210 | 210 | ||
211 | /* FIXME: we really shouldn't expose mmio space at all */ | 211 | /* FIXME: we really shouldn't expose mmio space at all */ |