Commit db090ff8 authored by Prike Liang's avatar Prike Liang Committed by Alex Deucher
Browse files

drm/amd/pm: Add support for MP1 13.0.8



Set smu sw function and enable swSMU support for MP1.

Signed-off-by: default avatarPrike Liang <Prike.Liang@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f99a7eb2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1337,6 +1337,7 @@ static int amdgpu_discovery_set_smu_ip_blocks(struct amdgpu_device *adev)
	case IP_VERSION(13, 0, 1):
	case IP_VERSION(13, 0, 2):
	case IP_VERSION(13, 0, 3):
	case IP_VERSION(13, 0, 8):
		amdgpu_device_ip_block_add(adev, &smu_v13_0_ip_block);
		break;
	default:
+1 −0
Original line number Diff line number Diff line
@@ -532,6 +532,7 @@ static int smu_set_funcs(struct amdgpu_device *adev)
		break;
	case IP_VERSION(13, 0, 1):
	case IP_VERSION(13, 0, 3):
	case IP_VERSION(13, 0, 8):
		yellow_carp_set_ppt_funcs(smu);
		break;
	case IP_VERSION(11, 0, 8):
+1 −0
Original line number Diff line number Diff line
@@ -218,6 +218,7 @@ int smu_v13_0_check_fw_version(struct smu_context *smu)
		break;
	case IP_VERSION(13, 0, 1):
	case IP_VERSION(13, 0, 3):
	case IP_VERSION(13, 0, 8):
		smu->smc_driver_if_version = SMU13_DRIVER_IF_VERSION_YELLOW_CARP;
		break;
	default:
+1 −0
Original line number Diff line number Diff line
@@ -568,6 +568,7 @@ int smu_cmn_get_enabled_mask(struct smu_context *smu,
	case IP_VERSION(11, 5, 0):
	case IP_VERSION(13, 0, 1):
	case IP_VERSION(13, 0, 3):
	case IP_VERSION(13, 0, 8):
		ret = smu_cmn_send_smc_msg_with_param(smu,
						      SMU_MSG_GetEnabledSmuFeatures,
						      0,