]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: Fix CU Masking for GFX 9.4.3
authorMukul Joshi <mukul.joshi@amd.com>
Thu, 9 May 2024 21:29:25 +0000 (17:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 19:48:21 +0000 (15:48 -0400)
commit85cf43c554e438e2e12b0fe109688c9533e4d93f
treeebb943da87bd9b538ce758d546291be4b7eaa098
parentf45957432351b58a77fab63989ca842c314847b4
drm/amdkfd: Fix CU Masking for GFX 9.4.3

We are incorrectly passing the first XCC's MQD when
updating CU masks for other XCCs in the partition. Fix
this by passing the MQD for the XCC currently being
updated with CU mask to update_cu_mask function.

Fixes: fc6efed2c728 ("drm/amdkfd: Update CU masking for GFX 9.4.3")
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c