Skip to contentSkip to conversation

drm/amd/pp: reset dpm level when adjust power state

PATCH In review Rex Zhu 2 participants 2 messages Dec 13, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Rex Zhu

author
#0 lore raw

PATCH 1/1 drm/amd/pp: reset dpm level when adjust power state

Change-Id I312d1cf7b964d25d698b02800ce7cd06ac33b28f
---
 drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c +1 -1
index ffa44bb..ab852b2 100644
@@ -244,7 +244,7 @@ int psm_adjust_power_state_dynamic(struct pp_hwmgr *hwmgr, bool skip,
 	}
 
 	phm_notify_smc_display_config_after_ps_adjustment(hwmgr);
-
+	phm_force_dpm_levels(hwmgr, hwmgr->dpm_level);
 	return 0;
 }
 
Signature · 6 lines
1.9.1

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

A message that is not in the archive (sent off-list or not yet received): 1513158768-29751-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org

#2 lore raw

________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Rex Zhu <[email protected]>
Sent: Wednesday, December 13, 2017 4:52:48 AM
To: [email protected]
Cc: Zhu, Rex
Subject: [PATCH] drm/amd/pp: reset dpm level when adjust power state

Change-Id I312d1cf7b964d25d698b02800ce7cd06ac33b28f
---
 drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/pp_psm.c +1 -1
index ffa44bb..ab852b2 100644
@@ -244,7 +244,7 @@ int psm_adjust_power_state_dynamic(struct pp_hwmgr *hwmgr, bool skip,
         }
 
         phm_notify_smc_display_config_after_ps_adjustment(hwmgr);
-
+       phm_force_dpm_levels(hwmgr, hwmgr->dpm_level);
         return 0;
 }
 

--
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