summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/accel_2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/gma500/accel_2d.c')
-rw-r--r--drivers/gpu/drm/gma500/accel_2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/accel_2d.c b/drivers/gpu/drm/gma500/accel_2d.c
index f0ce82aed65..d5ef1a5793c 100644
--- a/drivers/gpu/drm/gma500/accel_2d.c
+++ b/drivers/gpu/drm/gma500/accel_2d.c
@@ -253,7 +253,7 @@ static void psbfb_copyarea_accel(struct fb_info *info,
return;
offset = psbfb->gtt->offset;
- stride = fb->pitch;
+ stride = fb->pitches[0];
switch (fb->depth) {
case 8: