Commit 3939c49c authored by Tao Zhou's avatar Tao Zhou Committed by Alex Deucher
Browse files

drm/amd/pm: retire dimgrey_cavefish hardcode for the use of soft PPTable



The PPTable provided by VBIOS can be used.

Signed-off-by: default avatarTao Zhou <tao.zhou1@amd.com>
Reviewed-by: default avatarJiansong Chen <Jiansong.Chen@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bb2585c4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -339,8 +339,7 @@ int smu_v11_0_setup_pptable(struct smu_context *smu)
		hdr = (const struct smc_firmware_header_v1_0 *) adev->pm.fw->data;
		version_major = le16_to_cpu(hdr->header.header_version_major);
		version_minor = le16_to_cpu(hdr->header.header_version_minor);
		if ((version_major == 2 && smu->smu_table.boot_values.pp_table_id > 0) ||
		    adev->asic_type == CHIP_DIMGREY_CAVEFISH) {
		if (version_major == 2 && smu->smu_table.boot_values.pp_table_id > 0) {
			dev_info(adev->dev, "use driver provided pptable %d\n", smu->smu_table.boot_values.pp_table_id);
			switch (version_minor) {
			case 0: