drm/amd/pm: drop navy_flounder hardcode of using soft pptable
Subsystems (3)
PATCH 1/1 drm/amd/pm: drop navy_flounder hardcode of using soft pptable
Drop navy_flounder hardcode of using soft pptable, so that it can use pptable from vbios when available.
--- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c +0 -1
@@ -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) {
Signature · 6 lines
2.25.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Public Use]
Regards,
Hawking
-----Original Message-----
From: Jiansong Chen <[email protected]>
Sent: Friday, October 16, 2020 20:51
To: [email protected]
Cc: Zhou1, Tao <[email protected]>; Zhang, Hawking <[email protected]>; Chen, Jiansong (Simon) <[email protected]>
Subject: [PATCH] drm/amd/pm: drop navy_flounder hardcode of using soft pptable
Drop navy_flounder hardcode of using soft pptable, so that it can use pptable from vbios when available.
--- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c +0 -1
@@ -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) {
--
2.25.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx