diff options
author | Roman Li <[email protected]> | 2024-01-23 15:14:28 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-01-25 14:58:03 -0500 |
commit | 85155f5b55b525946779a1c10c95cb8dbd2873a5 (patch) | |
tree | 87ca800f618d637f4e9ca925a9422e5623f4696f | |
parent | 67bbf55bd3c7816f2e65ae0c6c83d095b5d5446e (diff) |
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 <[email protected]>
Tested-by: Mark Broadworth <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-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 da9b670fec86..a89d93154ddb 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -259,6 +259,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; |