summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/gpu/drm/gma500/accel_2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/gpu/drm/gma500/accel_2d.c')
-rw-r--r--kernel/drivers/gpu/drm/gma500/accel_2d.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/drivers/gpu/drm/gma500/accel_2d.c b/kernel/drivers/gpu/drm/gma500/accel_2d.c
index de6f62a6c..db9f7d011 100644
--- a/kernel/drivers/gpu/drm/gma500/accel_2d.c
+++ b/kernel/drivers/gpu/drm/gma500/accel_2d.c
@@ -276,12 +276,12 @@ static void psbfb_copyarea_accel(struct fb_info *info,
break;
default:
/* software fallback */
- cfb_copyarea(info, a);
+ drm_fb_helper_cfb_copyarea(info, a);
return;
}
if (!gma_power_begin(dev, false)) {
- cfb_copyarea(info, a);
+ drm_fb_helper_cfb_copyarea(info, a);
return;
}
psb_accel_2d_copy(dev_priv,
@@ -308,7 +308,7 @@ void psbfb_copyarea(struct fb_info *info,
/* Avoid the 8 pixel erratum */
if (region->width == 8 || region->height == 8 ||
(info->flags & FBINFO_HWACCEL_DISABLED))
- return cfb_copyarea(info, region);
+ return drm_fb_helper_cfb_copyarea(info, region);
psbfb_copyarea_accel(info, region);
}