* @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 {
struct clk *clock;
struct rot_limit_table *limit_tbl;
int irq;
- int cur_buf_id[EXYNOS_DRM_OPS_MAX];
bool suspended;
};
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");
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 */
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 */