]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Fix gfx_hqd_mask in mes 12.1
authorAmber Lin <Amber.Lin@amd.com>
Fri, 13 Mar 2026 10:49:44 +0000 (06:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Apr 2026 19:41:13 +0000 (15:41 -0400)
commitb6171de3dd79e76d9e4cc84880509b175013a10d
tree58ad3880142c10ef0b03b8ac30254b9f5bdbc1f0
parentfc3659f178d4a65599167d5a648bbeef4b0d4446
drm/amdgpu: Fix gfx_hqd_mask in mes 12.1

Same as compute and sdma, gfx_hqd_mask has been initialized properly in
amdgpu_mes_init. set_hw_res should use those initialization accordingly.
Hardcoding it causes the mismatch between driver and MES.

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/mes_v12_1.c