diff options
author | Tom Chung <chiahsuan.chung@amd.com> | 2023-12-01 14:15:45 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-01-03 11:16:05 -0500 |
commit | e379787cbc2aa73c63a795ec55140f9b21c27d8c (patch) | |
tree | 677ac6091705e7247a99f205339bb5f5af67675c /drivers/gpu/drm/amd/include/amd_shared.h | |
parent | d6398866a6b47e92319ef6efdb0126a4fbb7796a (diff) | |
download | linux-e379787cbc2aa73c63a795ec55140f9b21c27d8c.tar.gz linux-e379787cbc2aa73c63a795ec55140f9b21c27d8c.tar.bz2 linux-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 <daniel.wheeler@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/amd_shared.h')
-rw-r--r-- | drivers/gpu/drm/amd/include/amd_shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index 5cad456f2e10..1dc5dd9b7bf7 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -257,6 +257,7 @@ enum DC_DEBUG_MASK { DC_ENABLE_DPIA_TRACE = 0x80, DC_ENABLE_DML2 = 0x100, DC_DISABLE_PSR_SU = 0x200, + DC_DISABLE_REPLAY = 0x400, }; enum amd_dpm_forced_level; |