summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2026-04-30 12:00:26 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-06-17 15:51:34 -0400
commitb83490ad9845a7f9c1e91e9c076249bcfb745cfe (patch)
tree1b5e49e0adba30601a45c481e0888034614021aa /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
parent27c128973c78ee54825351a4e06d49951c67e11e (diff)
downloadlinux-next-b83490ad9845a7f9c1e91e9c076249bcfb745cfe.tar.gz
linux-next-b83490ad9845a7f9c1e91e9c076249bcfb745cfe.zip
drm/amdgpu/mes: add userq reset helper
Implement a userq reset helper using the doorbell index. Reviewed-by: Jesse Zhang <jesse.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
index fdd06a17520a..07c144c8e3b6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
@@ -459,6 +459,10 @@ int amdgpu_mes_reset_legacy_queue(struct amdgpu_device *adev,
unsigned int vmid,
bool use_mmio,
uint32_t xcc_id);
+int amdgpu_mes_reset_user_queue(struct amdgpu_device *adev,
+ int queue_type,
+ unsigned int doorbell_index,
+ unsigned int xcc_id);
int amdgpu_mes_get_hung_queue_db_array_size(struct amdgpu_device *adev);
int amdgpu_mes_detect_and_reset_hung_queues(struct amdgpu_device *adev,