Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Hawking Zhang and committed by
Alex Deucher
8e0187ae d717e62e

-15
-15
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
··· 2559 2559 if (r) 2560 2560 return r; 2561 2561 2562 - if ((adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT || 2563 - adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO) && 2564 - (amdgpu_dpm == 1)) { 2565 - /** 2566 - * For gfx 12, rlc firmware loading relies on smu firmware is 2567 - * loaded firstly, so in direct type, it has to load smc ucode 2568 - * here before rlc. 2569 - */ 2570 - if (!(adev->flags & AMD_IS_APU)) { 2571 - r = amdgpu_pm_load_smu_firmware(adev, NULL); 2572 - if (r) 2573 - return r; 2574 - } 2575 - } 2576 - 2577 2562 gfx_v12_1_init_golden_registers(adev); 2578 2563 2579 2564 gfx_v12_1_constants_init(adev);