]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: Missing multi-XCC support in MES
authorAmber Lin <Amber.Lin@amd.com>
Thu, 19 Mar 2026 21:50:52 +0000 (17:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2026 18:42:36 +0000 (14:42 -0400)
commitef94439908c9ccb4d856c99a102fd2a0b1ea1662
tree1a75e2856f758d623b245b246b55462b15bfca58
parenta73c5ece2b989f0c14b2311d113ea6d28cb1f01e
drm/amdgpu: Missing multi-XCC support in MES

In a multi-XCC GPU, pass the master XCC's ID to amdgpu_mes_suspend,
amdgpu_mes_resume, and detect_and_reset_hung_queues so the command will be
sent to the matching master MES when the compute partition mode is not
SPX.

Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c