drm/amd/display: Add p_state_change_support flag to dc_clocks
authorJun Lei <Jun.Lei@amd.com>
Wed, 6 Feb 2019 22:24:19 +0000 (17:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Mar 2019 20:09:33 +0000 (15:09 -0500)
Will be used to signify if P-state change is supported.

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h

index 9adb80172a20f666a6939e3a275b9e257571052d..a4d3da849a725d61f37a9d90c647f8471b39980f 100644 (file)
@@ -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 {