summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
diff options
context:
space:
mode:
authorMukul Joshi <mukul.joshi@amd.com>2023-08-22 18:35:25 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-09-12 01:17:27 +0300
commitfc6efed2c728c9c10b058512fc9c1613f870a8e8 (patch)
treeaea0560bc68a4a77e01f72a2bdd01eed20be00aa /drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
parent0752e66e91fa86fa5481b04b22053363833ffb85 (diff)
downloadlinux-fc6efed2c728c9c10b058512fc9c1613f870a8e8.tar.xz
drm/amdkfd: Update CU masking for GFX 9.4.3
The CU mask passed from user-space will change based on different spatial partitioning mode. As a result, update CU masking code for GFX9.4.3 to work for all partitioning modes. Signed-off-by: Mukul Joshi <mukul.joshi@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
index 23158db7da03..57bf5e513f4d 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
@@ -138,7 +138,7 @@ void free_mqd_hiq_sdma(struct mqd_manager *mm, void *mqd,
void mqd_symmetrically_map_cu_mask(struct mqd_manager *mm,
const uint32_t *cu_mask, uint32_t cu_mask_count,
- uint32_t *se_mask);
+ uint32_t *se_mask, uint32_t inst);
int kfd_hiq_load_mqd_kiq(struct mqd_manager *mm, void *mqd,
uint32_t pipe_id, uint32_t queue_id,