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/discovery: handle AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO in SMU

Handle SMU load ordering when firmware load type is
AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO. This works similarly
to AMDGPU_FW_LOAD_DIRECT where the SMU load order is
different from the standard ordering when front door
loading is enabled.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+3 -2
+3 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
··· 2292 2292 if (r) 2293 2293 return r; 2294 2294 2295 - if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT && 2296 - !amdgpu_sriov_vf(adev)) { 2295 + if ((adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT && 2296 + !amdgpu_sriov_vf(adev)) || 2297 + (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO && amdgpu_dpm == 1)) { 2297 2298 r = amdgpu_discovery_set_smu_ip_blocks(adev); 2298 2299 if (r) 2299 2300 return r;