[PATCH 29/35] drm/amd/display: Add p_state_change_support flag to dc_clocks

sunpeng.li at amd.com sunpeng.li at amd.com
Wed Feb 13 20:05:45 UTC 2019


From: Jun Lei <Jun.Lei at amd.com>

Will be used to signify if P-state change is supported.

Signed-off-by: Jun Lei <Jun.Lei at amd.com>
Reviewed-by: Eric Yang <eric.yang2 at amd.com>
Acked-by: Leo Li <sunpeng.li at amd.com>
---
 drivers/gpu/drm/amd/display/dc/dc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index 9adb801..a4d3da8 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -203,6 +203,7 @@ struct dc_clocks {
 	int fclk_khz;
 	int phyclk_khz;
 	int dramclk_khz;
+	bool p_state_change_support;
 };
 
 struct dc_debug_options {
-- 
2.7.4



More information about the amd-gfx mailing list