aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurabindo Pillai <[email protected]>2023-11-30 16:53:21 -0500
committerAlex Deucher <[email protected]>2023-12-06 15:22:37 -0500
commit3b35dd87c5969637ab5aa6666bbab6e6929c9e16 (patch)
tree6a7ef02dd25cdee331f64d169533134ce5c7aaf8
parent650f0487d6cd95c4e07a41d3a464d0f60a983a15 (diff)
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 <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-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;