drm/amdkfd: Removed commented line for MQD queue priority
Subsystems (3)
PATCH 1/1 drm/amdkfd: Removed commented line for MQD queue priority
Missed deleting the commented line in the original patch.
--- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 1 - 7 files changed, 7 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c +0 -1
@@ -70,7 +70,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct cik_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm,
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c +0 -1
@@ -70,7 +70,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct v10_compute_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm,
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c +0 -1
@@ -96,7 +96,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct v11_compute_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm,
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c +0 -1
@@ -77,7 +77,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct v12_compute_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm,
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c +0 -1
@@ -131,7 +131,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct v12_1_compute_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm,
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c +0 -1
@@ -106,7 +106,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct v9_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; }static bool mqd_on_vram (struct amdgpu_device *adev)
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c +0 -1
@@ -73,7 +73,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct vi_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm,
Signature · 1 line
2.43.0
Quoted 4 lines · Andrew Martin
Missed deleting the commented line in the original patch.
Fixes 3e95063383f5 ("drm/amdkfd: Disable MQD queue priority")
This should be rebased on top of a tree which contains the original patch. I.e., the patch should look like:
- /* m->cp_hqd_queue_priority = q->priority; */
With that fixed,
Quoted 98 lines
Signed-off-by Andrew Martin <[email protected]>--- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 1 - 7 files changed, 7 deletions(-)drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c +0
-1@@ -70,7 +70,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct cik_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm,drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c +0
-1@@ -70,7 +70,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct v10_compute_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm,drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c +0
-1@@ -96,7 +96,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct v11_compute_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm,drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c +0
-1@@ -77,7 +77,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct v12_compute_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm,drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c +0
-1@@ -131,7 +131,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct v12_1_compute_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm,drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c +0
-1@@ -106,7 +106,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct v9_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; }static bool mqd_on_vram (struct amdgpu_device *adev)drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c +0
-2@@ -73,7 +73,6 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,static void set_priority (struct vi_mqd *m,struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm, --2.43.0
[AMD Official Use Only - AMD Internal Distribution Only]
Greetings @Alex Deucher
Thanks, will do as instructed!
Quoted 134 lines
-----Original Message-----
From: Alex Deucher <[email protected]>
Sent: Monday, February 23, 2026 3:43 PM
To: Martin, Andrew <[email protected]>
Cc: [email protected]; Deucher, Alexander <[email protected]>
Subject: Re: [PATCH] drm/amdkfd: Removed commented line for MQD queue priorityCaution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
Quoted 4 lines · Andrew Martin
Missed deleting the commented line in the original patch.
Fixes 3e95063383f5 ("drm/amdkfd: Disable MQD queue priority")This should be rebased on top of a tree which contains the original patch. I.e., the patch should look like:
- /*m->cp_hqd_queue_priority=q->priority; */With that fixed,
Reviewed-by Alex Deucher <[email protected]>drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c static void update_cu_mask(struct mqd_manager
Quoted 69 lines
Signed-off-by Andrew Martin <[email protected]>--- drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 1 - drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 1 - 7 files changed, 7 deletions(-)drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c +0
-0@@ -70,7 +70,6 @@ static void update_cu_mask(struct mqd_manager *mm,void *mqd, static void set_priority(struct
cik_mqd*m, structqueue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority];-
m->cp_hqd_queue_priority=q->priority;
}static struct
kfd_mem_obj*allocate_mqd(structmqd_manager*mm, diff
--gita/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.cb/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c
index97055f808d4a..0f7688a1f8b1100644drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c +0
-0@@ -70,7 +70,6 @@ static void update_cu_mask(struct mqd_manager *mm,void *mqd, static void set_priority(struct
v10_compute_mqd*m, structqueue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority];-
m->cp_hqd_queue_priority=q->priority;
}static struct
kfd_mem_obj*allocate_mqd(structmqd_manager*mm, diff
--gita/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.cb/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c
index7e5a7ab6d0c0..d8f565cb2180100644drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c +0
-0@@ -96,7 +96,6 @@ static void update_cu_mask(struct mqd_manager *mm,void *mqd, static void set_priority(struct
v11_compute_mqd*m, structqueue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority];-
m->cp_hqd_queue_priority=q->priority;
}static struct
kfd_mem_obj*allocate_mqd(structmqd_manager*mm, diff
--gita/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.cb/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c
indexa51f217329db..db615b42b25c100644drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12.c +0
-0@@ -77,7 +77,6 @@ static void update_cu_mask(struct mqd_manager *mm,void *mqd, static void set_priority(struct
v12_compute_mqd*m, structqueue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority];-
m->cp_hqd_queue_priority=q->priority;
}static struct
kfd_mem_obj*allocate_mqd(structmqd_manager*mm, diff
--gita/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.cb/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c
indexd0776ba2cc99..6e591103c3b6100644drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c +0
-0@@ -131,7 +131,6 @@ static void update_cu_mask(struct mqd_manager*mm,
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c static void update_cu_mask(struct mqd_manager
Quoted 13 lines
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v12_1.c +0
-2void *mqd, static void set_priority(struct v12_1_compute_mqd *m, struct queue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority]; - m->cp_hqd_queue_priority = q->priority; } static struct kfd_mem_obj *allocate_mqd(struct mqd_manager *mm, diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c
b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c
indexdcf4bbfa641b..ad0dcaed3d35100644drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c +0
-0@@ -106,7 +106,6 @@ static void update_cu_mask(struct mqd_manager*mm,
Quoted 23 lines
void *mqd, static void set_priority(struct
v9_mqd*m, structqueue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority];-
m->cp_hqd_queue_priority=q->priority;
}static bool
mqd_on_vram(struct amdgpu_device *adev)diff --gita/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.cb/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.cindex09483f0862d4..c192c66a5c7b100644drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c +0
-0@@ -73,7 +73,6 @@ static void update_cu_mask(struct mqd_manager *mm,void *mqd, static void set_priority(struct
vi_mqd*m, structqueue_properties *q) { m->cp_hqd_pipe_priority = pipe_priority_map[q->priority];-
m->cp_hqd_queue_priority=q->priority;
}static struct
kfd_mem_obj*allocate_mqd(structmqd_manager*mm,
--
2.43.0