diff options
author | Andrzej Hajda | 2016-09-23 15:21:38 +0200 |
---|---|---|
committer | Inki Dae | 2016-09-30 17:39:37 +0200 |
commit | 9276dff7a89d81e84a4e4a1a07b636232be5aab0 (patch) | |
tree | 63249e35eaa03fc21e5d04c1567831dd8deb07e7 /drivers/gpu/drm/exynos/exynos_mixer.c | |
parent | drm/exynos: mark exynos_dp_crtc_clock_enable() static (diff) | |
download | kernel-qcow2-linux-9276dff7a89d81e84a4e4a1a07b636232be5aab0.tar.gz kernel-qcow2-linux-9276dff7a89d81e84a4e4a1a07b636232be5aab0.tar.xz kernel-qcow2-linux-9276dff7a89d81e84a4e4a1a07b636232be5aab0.zip |
drm/exynos: use drm core to handle page-flip event
Exynos DRM framework handled page-flip event with custom code.
The patch replaces it with drm-core vblank queue.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_mixer.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_mixer.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c index bea3cbd39a25..edb20a34c66c 100644 --- a/drivers/gpu/drm/exynos/exynos_mixer.c +++ b/drivers/gpu/drm/exynos/exynos_mixer.c @@ -754,7 +754,6 @@ static irqreturn_t mixer_irq_handler(int irq, void *arg) struct mixer_context *ctx = arg; struct mixer_resources *res = &ctx->mixer_res; u32 val, base, shadow; - int win; spin_lock(&res->reg_slock); @@ -781,14 +780,6 @@ static irqreturn_t mixer_irq_handler(int irq, void *arg) } drm_crtc_handle_vblank(&ctx->crtc->base); - for (win = 0 ; win < MIXER_WIN_NR ; win++) { - struct exynos_drm_plane *plane = &ctx->planes[win]; - - if (!plane->pending_fb) - continue; - - exynos_drm_crtc_finish_update(ctx->crtc, plane); - } } out: |