]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/ivpu: Add job status for jobs aborted by the driver
authorGrzegorz Trzebiatowski <grzegorz.trzebiatowski@intel.com>
Fri, 26 Jan 2024 12:28:04 +0000 (13:28 +0100)
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Tue, 6 Feb 2024 12:37:34 +0000 (13:37 +0100)
commit5f8408aca66772d3aa9b4831577b2ac5ec41bcd9
tree4c5219b52e84525f27ba98d712c59aac6e92890c
parent553099da45397914a995dce6307d6c26523c2567
accel/ivpu: Add job status for jobs aborted by the driver

Add DRM_IVPU_JOB_STATUS_ABORTED to indicate that the job was aborted
by the driver due to e.g. TDR or user context MMU faults.

This will help UMD and tests distinguish if job was aborted by the FW
or the driver.

Signed-off-by: Grzegorz Trzebiatowski <grzegorz.trzebiatowski@intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240126122804.2169129-8-jacek.lawrynowicz@linux.intel.com
drivers/accel/ivpu/ivpu_job.c
include/uapi/drm/ivpu_accel.h