Skip to contentSkip to conversation

drm/amd/powerplay: Partially revert change initialize platform caps

PATCH In review Rex Zhu 3 participants 3 messages Sep 14, 2016 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Rex Zhu

author
#0 lore raw

PATCH 1/1 drm/amd/powerplay: Partially revert change initialize platform caps

partially revert commit I36f3c9e3a28cbf290652edfb6e19109da660c4f1 this will lead APU can't work.

Change-Id I2233e2f21058540ff782e27e07fa0d0937692ace
---
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c +0 -6
index 1b3151c..524d0dd 100644
@@ -658,18 +658,12 @@ void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr)
 		PHM_PlatformCaps_DynamicPatchPowerState);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-			 PHM_PlatformCaps_TablelessHardwareInterface);
-
-	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
 		PHM_PlatformCaps_EnableSMU7ThermalManagement);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
 			PHM_PlatformCaps_DynamicPowerManagement);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-			PHM_PlatformCaps_UnTabledHardwareInterface);
-
-	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
 					PHM_PlatformCaps_SMC);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
Signature · 6 lines
1.9.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by
#2 lore raw
In reply to a message not in the archive
Quoted 5 lines · Rex Zhu

partially revert commit I36f3c9e3a28cbf290652edfb6e19109da660c4f1 this will lead APU can't work.

Change-Id I2233e2f21058540ff782e27e07fa0d0937692ace
Quoted 34 lines
---
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c +0 -6
index 1b3151c..524d0dd 100644
@@ -658,18 +658,12 @@ void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr)
 		PHM_PlatformCaps_DynamicPatchPowerState);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-			 PHM_PlatformCaps_TablelessHardwareInterface);
-
-	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
 		PHM_PlatformCaps_EnableSMU7ThermalManagement);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
 			PHM_PlatformCaps_DynamicPowerManagement);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-			PHM_PlatformCaps_UnTabledHardwareInterface);
-
-	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
 					PHM_PlatformCaps_SMC);
 
 	phm_cap_set(hwmgr->platform_descriptor.platformCaps,
Signature · 6 lines
1.9.1

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

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

Reviewed-by
#3 lore raw
In reply to a message not in the archive
Quoted 5 lines · Rex Zhu

partially revert commit I36f3c9e3a28cbf290652edfb6e19109da660c4f1 this will lead APU can't work.

Change-Id I2233e2f21058540ff782e27e07fa0d0937692ace
Quoted 30 lines
---
 drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c +0 -7
index 1b3151c..524d0dd 100644
@@ -658,18 +658,12 @@ void hwmgr_init_default_caps(struct pp_hwmgr *hwmgr)
                PHM_PlatformCaps_DynamicPatchPowerState);
 
        phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-                        PHM_PlatformCaps_TablelessHardwareInterface);
-
-       phm_cap_set(hwmgr->platform_descriptor.platformCaps,
                PHM_PlatformCaps_EnableSMU7ThermalManagement);
 
        phm_cap_set(hwmgr->platform_descriptor.platformCaps,
                        PHM_PlatformCaps_DynamicPowerManagement);
 
        phm_cap_set(hwmgr->platform_descriptor.platformCaps,
-                       PHM_PlatformCaps_UnTabledHardwareInterface);
-
-       phm_cap_set(hwmgr->platform_descriptor.platformCaps,
                                        PHM_PlatformCaps_SMC);
 
        phm_cap_set(hwmgr->platform_descriptor.platformCaps,
--

1.9.1

Quoted 4 lines

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

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