Commit 1fb85819 authored by Asad Kamal's avatar Asad Kamal Committed by Alex Deucher
Browse files

drm/amd/pm: Skip P2S load for SMU v13.0.12



Skip P2S table load for SMU v13.0.12

Signed-off-by: default avatarAsad Kamal <asad.kamal@amd.com>
Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5caea7a5
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -464,8 +464,9 @@ static int smu_v13_0_6_init_microcode(struct smu_context *smu)
	int var = (adev->pdev->device & 0xF);
	char ucode_prefix[15];

	/* No need to load P2S tables in IOV mode */
	if (amdgpu_sriov_vf(adev))
	/* No need to load P2S tables in IOV mode or for smu v13.0.12 */
	if (amdgpu_sriov_vf(adev) ||
	    (amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == IP_VERSION(13, 0, 12)))
		return 0;

	if (!(adev->flags & AMD_IS_APU)) {