drm/amd: Add a DC debug mask for DML2
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 30 Nov 2023 21:53:21 +0000 (16:53 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2023 20:22:37 +0000 (15:22 -0500)
[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>
drivers/gpu/drm/amd/include/amd_shared.h

index 7f98394338c26d470cac2008217039b1506073b7..bf7f258c324a1c52047f490bf3de8b42e8b87ec4 100644 (file)
@@ -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;