mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 00:39:48 +00:00
drm/amd/pm: retire dimgrey_cavefish hardcode for the use of soft PPTable
The PPTable provided by VBIOS can be used. Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
bb2585c406
commit
3939c49c79
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
hdr = (const struct smc_firmware_header_v1_0 *) adev->pm.fw->data;
|
||||||
version_major = le16_to_cpu(hdr->header.header_version_major);
|
version_major = le16_to_cpu(hdr->header.header_version_major);
|
||||||
version_minor = le16_to_cpu(hdr->header.header_version_minor);
|
version_minor = le16_to_cpu(hdr->header.header_version_minor);
|
||||||
if ((version_major == 2 && smu->smu_table.boot_values.pp_table_id > 0) ||
|
if (version_major == 2 && smu->smu_table.boot_values.pp_table_id > 0) {
|
||||||
adev->asic_type == CHIP_DIMGREY_CAVEFISH) {
|
|
||||||
dev_info(adev->dev, "use driver provided pptable %d\n", smu->smu_table.boot_values.pp_table_id);
|
dev_info(adev->dev, "use driver provided pptable %d\n", smu->smu_table.boot_values.pp_table_id);
|
||||||
switch (version_minor) {
|
switch (version_minor) {
|
||||||
case 0:
|
case 0:
|
||||||
|
|
Loading…
Reference in a new issue