]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Report correct compute partition mode on GFX 12.1
authorMukul Joshi <mukul.joshi@amd.com>
Fri, 8 Aug 2025 21:33:59 +0000 (17:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Jan 2026 21:27:17 +0000 (16:27 -0500)
commitfd25254f0bdd8c604052e88a8a77e8e9af8f4c87
tree235734a817d9a8a9c35ff799319fd35e7ef3b872
parentb78ec282bbf6b75f87358e4f634010855b770c8c
drm/amdgpu: Report correct compute partition mode on GFX 12.1

PSP programs the NBIO partition status register. In the absence of PSP,
read the current compute partition from the GFX IMU register instead of
NBIO.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Alex Sierra <alex.sierra@amd.com>
Reviewed-by: Michael Chen <michael.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc_v1_0.c