Skip to contentSkip to conversation

drm/amd/pm: support runtime PPTable update for dimgrey_cavefish

PATCH In review Tao Zhou 3 participants 3 messages Nov 17, 2020 – Nov 18, 2020

Subsystems (3)
lore
Share & tools
lore

Tao Zhou

author
#0 lore raw

PATCH 1/1 drm/amd/pm: support runtime PPTable update for dimgrey_cavefish

There is no need to reset DPM for PPTable uploading on dimgrey_cavefish and PMFW can handle it, same as navy_flounder.

---
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +1 -1
index 1904df5a3e20..8e3e7a5bbffe 100644
@@ -1183,7 +1183,7 @@ static int smu_disable_dpms(struct smu_context *smu)
 	 */
 	if (smu->uploading_custom_pp_table &&
 	    (adev->asic_type >= CHIP_NAVI10) &&
-	    (adev->asic_type <= CHIP_NAVY_FLOUNDER))
+	    (adev->asic_type <= CHIP_DIMGREY_CAVEFISH))
 		return 0;
 
 	/*
Signature · 6 lines
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
maintainer Acked-by on v1 1/1
#1 lore raw

[AMD Official Use Only - Internal Distribution Only]

________________________________
From: amd-gfx <[email protected]> on behalf of Tao Zhou <[email protected]>
Sent: Tuesday, November 17, 2020 2:32 AM
To: Chen, Jiansong (Simon) <[email protected]>; Gui, Jack <[email protected]>; Zhang, Hawking <[email protected]>; [email protected] <[email protected]>
Cc: Zhou1, Tao <[email protected]>
Subject: [PATCH] drm/amd/pm: support runtime PPTable update for dimgrey_cavefish

There is no need to reset DPM for PPTable uploading on dimgrey_cavefish and PMFW can handle it, same as navy_flounder.

---
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +1 -1
index 1904df5a3e20..8e3e7a5bbffe 100644
@@ -1183,7 +1183,7 @@ static int smu_disable_dpms(struct smu_context *smu)
          */
         if (smu->uploading_custom_pp_table &&
             (adev->asic_type >= CHIP_NAVI10) &&
-           (adev->asic_type <= CHIP_NAVY_FLOUNDER))
+           (adev->asic_type <= CHIP_DIMGREY_CAVEFISH))
                 return 0;
 
         /*

--
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=04%7C01%7Calexander.deucher%40amd.com%7C8cf0d1af536d4d6349bc08d88acb08f2%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637411951942273028%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=UuQ66twRM2QL%2FTXOhEmkjfHH28p96lfLfL5qxJeQG9s%3D&amp;reserved=0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reviewed-by on v1 1/1
#2 lore raw
In reply to Tao Zhou

[AMD Official Use Only - Internal Distribution Only]

-----Original Message-----
From: Zhou1, Tao <[email protected]>
Sent: Tuesday, November 17, 2020 3:33 PM
To: Chen, Jiansong (Simon) <[email protected]>; Gui, Jack <[email protected]>; Zhang, Hawking <[email protected]>; [email protected]
Cc: Zhou1, Tao <[email protected]>
Subject: [PATCH] drm/amd/pm: support runtime PPTable update for dimgrey_cavefish

There is no need to reset DPM for PPTable uploading on dimgrey_cavefish and PMFW can handle it, same as navy_flounder.

---
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +1 -1
index 1904df5a3e20..8e3e7a5bbffe 100644
@@ -1183,7 +1183,7 @@ static int smu_disable_dpms(struct smu_context *smu)
  */
 if (smu->uploading_custom_pp_table &&
     (adev->asic_type >= CHIP_NAVI10) &&
-    (adev->asic_type <= CHIP_NAVY_FLOUNDER))
+    (adev->asic_type <= CHIP_DIMGREY_CAVEFISH))
 return 0;
 
 /*

--
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx