summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
diff options
context:
space:
mode:
authorAmy Zhang <Amy.Zhang@amd.com>2017-02-17 11:56:03 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:16:02 -0400
commit3548f0731a2fa823bcb31b5ea662603926b85c43 (patch)
tree16468a04c372b44edb703fcdd23e89825c2c9fa2 /drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
parentd5b4f2bcff03c6cafb0a890360f1f8fbc99071a1 (diff)
drm/amd/display: DMCU PSR Refactor
- Move PSR programming from link encoder to dmcu Signed-off-by: Amy Zhang <Amy.Zhang@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
index 62012f091836..656cfdc79891 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dmcu.h
@@ -37,6 +37,10 @@ struct dmcu_funcs {
unsigned int start_offset,
const char *src,
unsigned int bytes);
+ void (*set_psr_enable)(struct dmcu *dmcu, bool enable);
+ void (*setup_psr)(struct dmcu *dmcu,
+ struct core_link *link,
+ struct psr_context *psr_context);
};
#endif