video: rockchip: rga3: fix intr exception that causes driver timeout

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I1ca23d1ef4ffd88244224bc463afc7d5e192e292
This commit is contained in:
Yu Qiaowei
2024-12-04 20:07:22 +08:00
committed by Tao Huang
parent 5d173bd028
commit 711f17c2fe

View File

@@ -234,7 +234,8 @@ struct rga_job *rga_job_done(struct rga_scheduler_t *scheduler)
return NULL;
}
if (!test_bit(RGA_JOB_STATE_FINISH, &job->state)) {
if (!test_bit(RGA_JOB_STATE_FINISH, &job->state) &&
!test_bit(RGA_JOB_STATE_INTR_ERR, &job->state)) {
rga_err("%s(%#x) running job has not yet been completed.",
rga_get_core_name(scheduler->core), scheduler->core);