]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/amdgpu: Disable reset on init for soc_v1_0
authorAsad Kamal <asad.kamal@amd.com>
Tue, 2 Dec 2025 02:54:59 +0000 (10:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Mar 2026 17:58:08 +0000 (13:58 -0400)
Return false from soc_v1_0_reset_on_init as psp is loaded with ifwi and
sol register will be non zero on first load itself

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc_v1_0.c

index bd7043729e6a3354c8fa45596d7cfaacdb4c99b7..43209eae81bbc0162940e400dcaa417397cf4872 100644 (file)
@@ -214,17 +214,6 @@ static bool soc_v1_0_need_full_reset(struct amdgpu_device *adev)
 
 static bool soc_v1_0_need_reset_on_init(struct amdgpu_device *adev)
 {
-       u32 sol_reg;
-
-       if (adev->flags & AMD_IS_APU)
-               return false;
-
-       /* Check sOS sign of life register to confirm sys driver and sOS
-        * are already been loaded.
-        */
-       sol_reg = RREG32_SOC15(MP0, 0, regMPASP_SMN_C2PMSG_81);
-       if (sol_reg)
-               return true;
 
        return false;
 }