diff options
| author | Bhawanpreet Lakha <[email protected]> | 2023-05-16 16:21:19 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-31 21:51:50 +0000 |
| commit | 44e60b14d5a72f91fd0bdeae8da59ae37a3ca8e5 (patch) | |
| tree | 128e0b029c5573d2f09f0171dbfc63b09313ee08 /drivers/gpu/drm/amd/include/amd_shared.h | |
| parent | Merge tag 'drm-intel-next-fixes-2023-08-24' of git://anongit.freedesktop.org/... (diff) | |
| download | kernel-44e60b14d5a72f91fd0bdeae8da59ae37a3ca8e5.tar.gz kernel-44e60b14d5a72f91fd0bdeae8da59ae37a3ca8e5.zip | |
drm/amd/display: Enable Replay for static screen use cases
- Setup replay config on device init.
- Enable replay if feature is enabled (prioritize replay over PSR, since
it can be enabled in more usecases)
- Add debug masks to enable replay on supported ASICs
Signed-off-by: Bhawanpreet Lakha <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/include/amd_shared.h')
| -rw-r--r-- | drivers/gpu/drm/amd/include/amd_shared.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index abe829bbd54a..67d7b7ee8a2a 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -240,6 +240,7 @@ enum DC_FEATURE_MASK { DC_DISABLE_LTTPR_DP2_0 = (1 << 6), //0x40, disabled by default DC_PSR_ALLOW_SMU_OPT = (1 << 7), //0x80, disabled by default DC_PSR_ALLOW_MULTI_DISP_OPT = (1 << 8), //0x100, disabled by default + DC_REPLAY_MASK = (1 << 9), //0x200, disabled by default for dcn < 3.1.4 }; enum DC_DEBUG_MASK { @@ -250,6 +251,7 @@ enum DC_DEBUG_MASK { DC_DISABLE_PSR = 0x10, DC_FORCE_SUBVP_MCLK_SWITCH = 0x20, DC_DISABLE_MPO = 0x40, + DC_DISABLE_REPLAY = 0x50, DC_ENABLE_DPIA_TRACE = 0x80, }; |
