Commit 8849fe64 authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher
Browse files

drm/amd/pm: correct vddci table setup



Make sure the settings are applied only when voltage
controlled by gpio.

Signed-off-by: default avatarEvan Quan <evan.quan@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3df9931b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -714,9 +714,9 @@ static int polaris10_populate_smc_vddci_table(struct pp_hwmgr *hwmgr,

			table->Smio[level] |= data->vddci_voltage_table.entries[level].smio_low;
		}
	}

		table->SmioMask1 = data->vddci_voltage_table.mask_low;
	}

	return 0;
}