]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm/ci: Disable MCLK DPM on problematic CI ASICs
authorTimur Kristóf <timur.kristof@gmail.com>
Sun, 29 Mar 2026 16:02:59 +0000 (18:02 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Mar 2026 20:44:54 +0000 (16:44 -0400)
commit9851f29cb06c09f7dad3867d8b0feec3fc71b6c8
treed64ad3e709f7f84691ac4e95428cf51f8e00d34a
parent894f0d34d66cb47fe718fe2ae5c18729d22c5218
drm/amd/pm/ci: Disable MCLK DPM on problematic CI ASICs

There are two known cases where MCLK DPM can causes issues:

Radeon R9 M380 found in iMac computers from 2015.
The SMU in this GPU just hangs as soon as we send it the
PPSMC_MSG_MCLKDPM_Enable command, even when MCLK switching is
disabled, and even when we only populate one MCLK DPM level.
Apply workaround to all devices with the same subsystem ID.

Radeon R7 260X due to old memory controller microcode.
We only flash the MC ucode when it isn't set up by the VBIOS,
therefore there is no way to make sure that it has the correct
ucode version.

I verified that this patch fixes the SMU hang on the R9 M380
which would previously fail to boot. This also fixes the UVD
initialization error on that GPU which happened because the
SMU couldn't ungate the UVD after it hung.

Fixes: 86457c3b21cb ("drm/amd/powerplay: Add support for CI asics to hwmgr")
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c