diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2026-04-30 12:35:52 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-06-17 15:51:34 -0400 |
| commit | 6ecafeaba9b065b842e0dff604fd0c9c29ce50d6 (patch) | |
| tree | 81fa6255f38cee5abc73db7c7f898c431687833a | |
| parent | 9910d4df91c705f8b6b436c856c47aa69e51aba0 (diff) | |
drm/amdgpu/userq: add per queue reset callback
Add a per queue reset callback.
Reviewed-by: Jesse Zhang <jesse.zhang@amd.com>
Reviewed-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h index d1751febaefe..4559f7440788 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h @@ -113,6 +113,7 @@ struct amdgpu_userq_funcs { int (*restore)(struct amdgpu_usermode_queue *queue); int (*detect_and_reset)(struct amdgpu_device *adev, int queue_type); + int (*reset)(struct amdgpu_usermode_queue *queue); }; /* Usermode queues for gfx */ |
