OSDN Git Service

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 9adb801..a4d3da8 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 {