From: Jun Lei Date: Wed, 6 Feb 2019 22:24:19 +0000 (-0500) Subject: drm/amd/display: Add p_state_change_support flag to dc_clocks X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=33e0a44583281a9951117e62260532e5e0ba166d;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Add p_state_change_support flag to dc_clocks Will be used to signify if P-state change is supported. Signed-off-by: Jun Lei Reviewed-by: Eric Yang Acked-by: Leo Li Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 9adb80172a20..a4d3da849a72 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 {