diff options
author | Roman Li <Roman.Li@amd.com> | 2024-01-23 15:14:28 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-01-25 16:00:24 -0500 |
commit | d45669eb5e68c052d0d890cd88c33a65c115d9f3 (patch) | |
tree | 2e1717c06dc7b453ca113405de81df2461ece5bc /drivers | |
parent | 8894b9283afd35b8d22ae07a0c118eb5f7d2e78b (diff) | |
download | linux-d45669eb5e68c052d0d890cd88c33a65c115d9f3.tar.gz linux-d45669eb5e68c052d0d890cd88c33a65c115d9f3.tar.bz2 linux-d45669eb5e68c052d0d890cd88c33a65c115d9f3.zip |
drm/amd: Add a DC debug mask for IPS
For debugging IPS-related issues, expose a new debug mask
that allows to disable IPS.
Usage:
amdgpu.dcdebugmask=0x800
Signed-off-by: Roman Li <Roman.Li@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-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 1dc5dd9b7bf7..df2c7ffe190f 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -258,6 +258,7 @@ enum DC_DEBUG_MASK { DC_ENABLE_DML2 = 0x100, DC_DISABLE_PSR_SU = 0x200, DC_DISABLE_REPLAY = 0x400, + DC_DISABLE_IPS = 0x800, }; enum amd_dpm_forced_level; |