Two queues can be ganged and will schedule together.

Cc: Yogesh Mohan Marimuthu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
index 488dc21d7c81b..efaa658a26a9a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
@@ -115,6 +115,8 @@ struct amdgpu_userq_funcs {
        int (*preempt)(struct amdgpu_usermode_queue *queue);
        int (*restore)(struct amdgpu_usermode_queue *queue);
        int (*reset)(struct amdgpu_usermode_queue *queue);
+       int (*set_gang)(struct amdgpu_usermode_queue *primary_queue,
+                       struct amdgpu_usermode_queue *secondary_queue);
 };
 
 /* Usermode queues for gfx */
-- 
2.56.1

Reply via email to