diff options
| author | Hawking Zhang <Hawking.Zhang@amd.com> | 2025-05-26 10:49:42 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-12-11 01:34:35 +0300 |
| commit | 8e0187aec67a9f71e5b3726c1979e1d68db552ca (patch) | |
| tree | bafe0739483b3a063f7ca63dc01db0832d236a17 /drivers/gpu | |
| parent | d717e62e9b6ccff0e3cec78a58dfbd00858448b3 (diff) | |
| download | linux-8e0187aec67a9f71e5b3726c1979e1d68db552ca.tar.xz | |
drm/amdgpu: Remove redundant pmfw backdoor loading
PMFW is integrated into ifwi for gfx 12_1 adapter,
making PMFW backdoor loading unnecessary.
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c b/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c index 51173d551671..447395d36a3e 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c @@ -2559,21 +2559,6 @@ static int gfx_v12_1_hw_init(struct amdgpu_ip_block *ip_block) if (r) return r; - if ((adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT || - adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) && - (amdgpu_dpm == 1)) { - /** - * For gfx 12, rlc firmware loading relies on smu firmware is - * loaded firstly, so in direct type, it has to load smc ucode - * here before rlc. - */ - if (!(adev->flags & AMD_IS_APU)) { - r = amdgpu_pm_load_smu_firmware(adev, NULL); - if (r) - return r; - } - } - gfx_v12_1_init_golden_registers(adev); gfx_v12_1_constants_init(adev); |
