diff options
author | Stylon Wang <stylon.wang@amd.com> | 2023-06-30 16:48:23 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-18 11:11:57 -0400 |
commit | b2225568cc7bbffc6fa4c65cdd83e2de2eacb84b (patch) | |
tree | f482805203a5889b37d8adb664d1e919b59dae50 /drivers/gpu/drm/amd/include/amd_shared.h | |
parent | 5229a37e17dd3edea08b56e0303c410a18c695af (diff) | |
download | linux-b2225568cc7bbffc6fa4c65cdd83e2de2eacb84b.tar.gz linux-b2225568cc7bbffc6fa4c65cdd83e2de2eacb84b.tar.bz2 linux-b2225568cc7bbffc6fa4c65cdd83e2de2eacb84b.zip |
drm/amdgpu: Add dcdebugmask option to enable DPIA trace
[Why & How]
It's useful to be able to enable DPIA trace with dcdebugmask
option, especially to debug DPIA issues involved in transition
of system power states.
This patch adds an option to amdgpu.dcdebugmask to be picked up
by amdgpu DM to enable DPIA trace.
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@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 f175e65b853a..abe829bbd54a 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -250,6 +250,7 @@ enum DC_DEBUG_MASK { DC_DISABLE_PSR = 0x10, DC_FORCE_SUBVP_MCLK_SWITCH = 0x20, DC_DISABLE_MPO = 0x40, + DC_ENABLE_DPIA_TRACE = 0x80, }; enum amd_dpm_forced_level; |