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: Verify dpm setting for enabling smu with direct fw loading

Ensure that amdgpu_dpm kernel module parameter is set to 1
when enabling smu with direct firmware loading

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
dcfe45bd 0bebe9b9

+4 -2
+4 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
··· 3213 3213 return r; 3214 3214 3215 3215 if ((adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT && 3216 - !amdgpu_sriov_vf(adev)) || 3217 - (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO && amdgpu_dpm == 1)) { 3216 + !amdgpu_sriov_vf(adev) && 3217 + amdgpu_dpm == 1) || 3218 + (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO && 3219 + amdgpu_dpm == 1)) { 3218 3220 r = amdgpu_discovery_set_smu_ip_blocks(adev); 3219 3221 if (r) 3220 3222 return r;