summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc.h
diff options
context:
space:
mode:
authorAndrey Grodzovsky2017-08-28 20:25:01 +0200
committerAlex Deucher2017-09-27 00:17:16 +0200
commitab8db3e1653c50ae19d1c31d82f94beb5115aeef (patch)
treed4353036c7643ca78ac16d45be51026852eeba7e /drivers/gpu/drm/amd/display/dc/dc.h
parentdrm/amd/display: add aux arbitration logic (diff)
downloadkernel-qcow2-linux-ab8db3e1653c50ae19d1c31d82f94beb5115aeef.tar.gz
kernel-qcow2-linux-ab8db3e1653c50ae19d1c31d82f94beb5115aeef.tar.xz
kernel-qcow2-linux-ab8db3e1653c50ae19d1c31d82f94beb5115aeef.zip
drm/amd/display: Move dis_clk into dc_state.
dis_clk is single instance across pipes. Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index f3ccc2043405..e2159306a9c2 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -679,6 +679,11 @@ bool dc_validate_global_state(
* No hardware is programmed for call. Only validation is done.
*/
+
+void dc_resource_state_construct(
+ const struct dc *dc,
+ struct dc_state *dst_ctx);
+
void dc_resource_state_copy_construct(
const struct dc_state *src_ctx,
struct dc_state *dst_ctx);