summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorAurabindo Pillai <aurabindo.pillai@amd.com>2023-12-01 00:53:21 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-12-06 23:22:37 +0300
commit3b35dd87c5969637ab5aa6666bbab6e6929c9e16 (patch)
tree6a7ef02dd25cdee331f64d169533134ce5c7aaf8 /drivers/gpu/drm/amd/include
parent650f0487d6cd95c4e07a41d3a464d0f60a983a15 (diff)
downloadlinux-3b35dd87c5969637ab5aa6666bbab6e6929c9e16.tar.xz
drm/amd: Add a DC debug mask for DML2
[Why&How] To enable testing/development of DML2, expose a new debug mask for future use. Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include')
-rw-r--r--drivers/gpu/drm/amd/include/amd_shared.h1
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 7f98394338c2..bf7f258c324a 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -257,6 +257,7 @@ enum DC_DEBUG_MASK {
DC_DISABLE_MPO = 0x40,
DC_DISABLE_REPLAY = 0x50,
DC_ENABLE_DPIA_TRACE = 0x80,
+ DC_ENABLE_DML2 = 0x100,
};
enum amd_dpm_forced_level;