summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_fb_helper.c
diff options
context:
space:
mode:
authorDave Airlie2009-08-31 02:33:29 +0200
committerDave Airlie2009-08-31 02:33:29 +0200
commit3420e74262a7d6496d0ac433d6f61c9972f015f6 (patch)
tree8da12c0cf4c5834bf18872e4b65ed3f7cce742e6 /drivers/gpu/drm/drm_fb_helper.c
parentdrm: use proc_create_data() (diff)
downloadkernel-qcow2-linux-3420e74262a7d6496d0ac433d6f61c9972f015f6.tar.gz
kernel-qcow2-linux-3420e74262a7d6496d0ac433d6f61c9972f015f6.tar.xz
kernel-qcow2-linux-3420e74262a7d6496d0ac433d6f61c9972f015f6.zip
drm: fix two issues with fb consolidation.
Set accel to none, we really don't want anyone thinking fb is an accel interface. Pass pitch not depth to function for intel. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
-rw-r--r--drivers/gpu/drm/drm_fb_helper.c2
1 files changed, 1 insertions, 1 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)
info->fix.xpanstep = 1; /* doing it in hw */
info->fix.ypanstep = 1; /* doing it in hw */
info->fix.ywrapstep = 0;
- info->fix.accel = FB_ACCEL_I830;
+ info->fix.accel = FB_ACCEL_NONE;
info->fix.type_aux = 0;
info->fix.line_length = pitch;