diff options
author | 2023-02-02 10:21:12 +0100 | |
---|---|---|
committer | 2023-02-06 09:01:56 +0100 | |
commit | 38257f514d85cd9d3f7586e768cec4f246635f77 (patch) | |
tree | bdbbe9a32137cca5b30416168f87a544ab3bf661 /drivers/accel/ivpu/ivpu_jsm_msg.h | |
parent | accel/ivpu: Fix FW API data alignment issues (diff) | |
download | linux-38257f514d85cd9d3f7586e768cec4f246635f77.tar.gz linux-38257f514d85cd9d3f7586e768cec4f246635f77.tar.bz2 linux-38257f514d85cd9d3f7586e768cec4f246635f77.zip |
accel/ivpu: Send VPU_JSM_MSG_CONTEXT_DELETE when deleting context
The VPU_JSM_MSG_CONTEXT_DELETE will remove any resources associated
with the SSID, that included any blobs create by the user space
application.
The command can also remove doorbell registrations, but since this
does not work in HW scheduling case, we do not depend on this
capability and unregister the doorbells explicitly.
Signed-off-by: Andrzej Kacprowski <andrzej.kacprowski@linux.intel.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230202092114.2637452-3-stanislaw.gruszka@linux.intel.com
Diffstat (limited to 'drivers/accel/ivpu/ivpu_jsm_msg.h')
-rw-r--r-- | drivers/accel/ivpu/ivpu_jsm_msg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/accel/ivpu/ivpu_jsm_msg.h b/drivers/accel/ivpu/ivpu_jsm_msg.h index 1a3e2e2740bd..ab50d7b017c1 100644 --- a/drivers/accel/ivpu/ivpu_jsm_msg.h +++ b/drivers/accel/ivpu/ivpu_jsm_msg.h @@ -19,5 +19,5 @@ int ivpu_jsm_trace_get_capability(struct ivpu_device *vdev, u32 *trace_destinati u64 *trace_hw_component_mask); int ivpu_jsm_trace_set_config(struct ivpu_device *vdev, u32 trace_level, u32 trace_destination_mask, u64 trace_hw_component_mask); - +int ivpu_jsm_context_release(struct ivpu_device *vdev, u32 host_ssid); #endif |