diff options
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_rotator.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_rotator.c b/drivers/gpu/drm/exynos/exynos_drm_rotator.c index 425e70625388..9f150d08de08 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_rotator.c +++ b/drivers/gpu/drm/exynos/exynos_drm_rotator.c @@ -88,7 +88,6 @@ struct rot_limit_table { * @clock: rotator gate clock. * @limit_tbl: limitation of rotator. * @irq: irq number. - * @cur_buf_id: current operation buffer id. * @suspended: suspended state. */ struct rot_context { @@ -98,7 +97,6 @@ struct rot_context { struct clk *clock; struct rot_limit_table *limit_tbl; int irq; - int cur_buf_id[EXYNOS_DRM_OPS_MAX]; bool suspended; }; @@ -154,8 +152,6 @@ static irqreturn_t rotator_irq_handler(int irq, void *arg) if (irq_status == ROT_IRQ_STATUS_COMPLETE) { event_work->ippdrv = ippdrv; - event_work->buf_id[EXYNOS_DRM_OPS_DST] = - rot->cur_buf_id[EXYNOS_DRM_OPS_DST]; queue_work(ippdrv->event_workq, &event_work->work); } else { DRM_ERROR("the SFR is set illegally\n"); @@ -275,9 +271,6 @@ static int rotator_src_set_addr(struct device *dev, u32 val, fmt, hsize, vsize; int i; - /* Set current buf_id */ - rot->cur_buf_id[EXYNOS_DRM_OPS_SRC] = buf_id; - switch (buf_type) { case IPP_BUF_ENQUEUE: /* Set address configuration */ @@ -410,9 +403,6 @@ static int rotator_dst_set_addr(struct device *dev, u32 val, fmt, hsize, vsize; int i; - /* Set current buf_id */ - rot->cur_buf_id[EXYNOS_DRM_OPS_DST] = buf_id; - switch (buf_type) { case IPP_BUF_ENQUEUE: /* Set address configuration */ |