diff options
| author | Tom Chung <[email protected]> | 2023-12-01 06:15:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-01-03 16:16:05 +0000 |
| commit | e379787cbc2aa73c63a795ec55140f9b21c27d8c (patch) | |
| tree | 677ac6091705e7247a99f205339bb5f5af67675c /drivers/gpu/drm/amd/display/dc/inc/link.h | |
| parent | Re-revert "drm/amd/display: Enable Replay for static screen use cases" (diff) | |
| download | kernel-e379787cbc2aa73c63a795ec55140f9b21c27d8c.tar.gz kernel-e379787cbc2aa73c63a795ec55140f9b21c27d8c.zip | |
drm/amd/display: Add some functions for Panel Replay
[WHY]
Prepare for enabling the Panel Replay feature
[HOW]
- Add some Panel Replay setting functions in DC
- Add the Panel Replay resource in dcn35_resource.c
- Add debug masks for Panel Replay
Tested-by: Daniel Wheeler <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Reviewed-by: Leo Li <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/link.h')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/link.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/link.h b/drivers/gpu/drm/amd/display/dc/inc/link.h index 7439865d1b50..26fe81f213da 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/link.h +++ b/drivers/gpu/drm/amd/display/dc/inc/link.h @@ -289,6 +289,8 @@ struct link_service { bool (*edp_replay_residency)(const struct dc_link *link, unsigned int *residency, const bool is_start, const bool is_alpm); + bool (*edp_set_replay_power_opt_and_coasting_vtotal)(struct dc_link *link, + const unsigned int *power_opts, uint16_t coasting_vtotal); bool (*edp_wait_for_t12)(struct dc_link *link); bool (*edp_is_ilr_optimization_required)(struct dc_link *link, |
