drm/amd/pm: drop navy_flounder hardcode of using soft pptable
authorJiansong Chen <Jiansong.Chen@amd.com>
Fri, 16 Oct 2020 12:43:06 +0000 (20:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Oct 2020 18:45:04 +0000 (14:45 -0400)
Drop navy_flounder hardcode of using soft pptable, so that it
can use pptable from vbios when available.

Signed-off-by: Jiansong Chen <Jiansong.Chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c

index c2a6eb9..fff1d25 100644 (file)
@@ -337,7 +337,6 @@ int smu_v11_0_setup_pptable(struct smu_context *smu)
                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_NAVY_FLOUNDER ||
                    adev->asic_type == CHIP_DIMGREY_CAVEFISH) {
                        dev_info(adev->dev, "use driver provided pptable %d\n", smu->smu_table.boot_values.pp_table_id);
                        switch (version_minor) {