]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm: re-enable MC access after PrepareMp1ForUnload on SMU V15 APUs
authorShubhankar Milind Sardeshpande <Shubhankar.MilindSardeshpande@amd.com>
Thu, 21 May 2026 05:25:18 +0000 (10:55 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jun 2026 22:07:31 +0000 (18:07 -0400)
commit76589bcc73f477ef2b3b90e4fae6a7a4dfd925af
treef2b05efa411296aaa022cc10aca98e66757d22ee
parent1c2d7a656655a50bd1b7227fb26d173959a1955d
drm/amd/pm: re-enable MC access after PrepareMp1ForUnload on SMU V15 APUs

During smu_v15_0_0_system_features_control(), the driver sends a
PrepareMp1ForUnload message to PMFW. PMFW then performs nBIF and SYSHUB
function-level resets (FLR), disabling PCIe CFG space reset, which
clears the framebuffer enable bit to zero and disables MC (memory controller)
access from the host.

Re-enable MC access via the nbio mc_access_enable callback right after
PrepareMp1ForUnload completes in smu_v15_0_0_system_features_control().

Signed-off-by: Shubhankar Milind Sardeshpande <Shubhankar.MilindSardeshpande@amd.com>
Signed-off-by: Suresh Guttula <Suresh.Guttula@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 840a3c5aeae779a3bc75d7f747c3ed18b1af6507)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_0_ppt.c