summaryrefslogtreecommitdiffstats
path: root/drivers/accel/ivpu/ivpu_job.h
diff options
context:
space:
mode:
authorJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>2024-01-22 13:09:44 +0100
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>2024-01-25 10:17:07 +0100
commit264b271d12d0af794f3d1dc3793e6589fae8c66c (patch)
tree1b05d38d126db449fe12b23bda518b1d3bf3d456 /drivers/accel/ivpu/ivpu_job.h
parentaccel/ivpu: Fix dev open/close races with unbind (diff)
downloadlinux-264b271d12d0af794f3d1dc3793e6589fae8c66c.tar.xz
linux-264b271d12d0af794f3d1dc3793e6589fae8c66c.zip
accel/ivpu: Improve stability of ivpu_submit_ioctl()
- Wake up the device as late as possible - Remove job reference counting in order to simplify the code - Don't put jobs that are not fully submitted on submitted_jobs_xa in order to avoid potential races with reset/recovery Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Reviewed-by: Wachowski, Karol <karol.wachowski@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240122120945.1150728-3-jacek.lawrynowicz@linux.intel.com
Diffstat (limited to 'drivers/accel/ivpu/ivpu_job.h')
-rw-r--r--drivers/accel/ivpu/ivpu_job.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/accel/ivpu/ivpu_job.h b/drivers/accel/ivpu/ivpu_job.h
index bd22cf8e39e7..ca4984071cc7 100644
--- a/drivers/accel/ivpu/ivpu_job.h
+++ b/drivers/accel/ivpu/ivpu_job.h
@@ -43,7 +43,6 @@ struct ivpu_cmdq {
will update the job status
*/
struct ivpu_job {
- struct kref ref;
struct ivpu_device *vdev;
struct ivpu_file_priv *file_priv;
struct dma_fence *done_fence;