]> Git Repo - linux.git/commitdiff
drm/amd: Add a DC debug mask for IPS
authorRoman Li <[email protected]>
Tue, 23 Jan 2024 20:14:28 +0000 (15:14 -0500)
committerAlex Deucher <[email protected]>
Thu, 25 Jan 2024 21:00:24 +0000 (16:00 -0500)
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]>
drivers/gpu/drm/amd/include/amd_shared.h

index 1dc5dd9b7bf70b10641a76e4c731e3e735aeaeef..df2c7ffe190f4db36050901dce5af89180646f3b 100644 (file)
@@ -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;
This page took 0.052636 seconds and 4 git commands to generate.