[PATCH 6/8] drm/amdgpu/userq: add callback for gang setup
Alex Deucher
alexander.deucher at amd.com
Fri Apr 25 18:41:23 UTC 2025
Two queues can be ganged and will schedule together.
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
index 35a08ee59d893..ca11f7748d031 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
@@ -80,6 +80,9 @@ struct amdgpu_userq_funcs {
struct amdgpu_usermode_queue *queue);
int (*reset)(struct amdgpu_userq_mgr *uq_mgr,
struct amdgpu_usermode_queue *queue);
+ int (*set_gang)(struct amdgpu_userq_mgr *uq_mgr,
+ struct amdgpu_usermode_queue *primary_queue,
+ struct amdgpu_usermode_queue *secondary_queue);
};
/* Usermode queues for gfx */
--
2.49.0
More information about the amd-gfx
mailing list