summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/oaktrail_crtc.c
diff options
context:
space:
mode:
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-07-10 16:39:58 (GMT)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-07-23 23:47:24 (GMT)
commit6443ea1aca56f011432b6ea66ec4cc21a813bb0d (patch)
tree410bc10a787b571af3eec42f61877efc4758d7d2 /drivers/gpu/drm/gma500/oaktrail_crtc.c
parent00b1fe7445d8a3cd81ba564fba5d15dcbe26f23b (diff)
downloadlinux-6443ea1aca56f011432b6ea66ec4cc21a813bb0d.tar.xz
drm/gma500: Convert to generic gamma funcs
This takes care of the remaining chips using the old generic code. We don't check if the pipe number is valid but the old code peeked in the register map before checking anyways so just ignore it. Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/oaktrail_crtc.c')
-rw-r--r--drivers/gpu/drm/gma500/oaktrail_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/oaktrail_crtc.c b/drivers/gpu/drm/gma500/oaktrail_crtc.c
index 8af461f..5cd007e 100644
--- a/drivers/gpu/drm/gma500/oaktrail_crtc.c
+++ b/drivers/gpu/drm/gma500/oaktrail_crtc.c
@@ -212,7 +212,7 @@ static void oaktrail_crtc_dpms(struct drm_crtc *crtc, int mode)
REG_WRITE(map->base, REG_READ(map->base));
}
- psb_intel_crtc_load_lut(crtc);
+ gma_crtc_load_lut(crtc);
/* Give the overlay scaler a chance to enable
if it's on this pipe */