Commit 4d5af9b7 authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher
Browse files

drm/amdgpu: fix the issue that apu has no smu firmware binary



The driver needn't load smu binary on APU platforms.

Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Reviewed-by: default avatarKevin Wang <kevin1.wang@amd.com>
Reviewed-by: default avatarMadhav Chauhan <madhav.chauhan@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4460571b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7049,7 +7049,7 @@ static int gfx_v10_0_hw_init(void *handle)
		 * loaded firstly, so in direct type, it has to load smc ucode
		 * here before rlc.
		 */
		if (adev->smu.ppt_funcs != NULL) {
		if (adev->smu.ppt_funcs != NULL && !(adev->flags & AMD_IS_APU)) {
			r = smu_load_microcode(&adev->smu);
			if (r)
				return r;