Two queues can be ganged and will schedule together.
Acked-by: Sunil Khatri <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
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