aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorAurabindo Pillai <aurabindo.pillai@amd.com>2022-06-28 17:26:35 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-07-05 16:09:24 -0400
commitcfb979f71736361ec564d47d0a41f07e09983e32 (patch)
treecb9e893a40ca9f52c982492523638f768dcabacc /drivers/gpu/drm/amd/include
parentdrm/amdgpu/display: add missing FP_START/END checks dcn32_clk_mgr.c (diff)
downloadlinux-dev-cfb979f71736361ec564d47d0a41f07e09983e32.tar.xz
linux-dev-cfb979f71736361ec564d47d0a41f07e09983e32.zip
drm/amd: Add debug mask for subviewport mclk switch
[Why&How] Expose a new dc debug mask enum to force a subviewport memory clock switch to facilitate easy testing. Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Acked-by: Alex Deucher <alexander.deucher@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 2e02a6fc1717..1db21d13726d 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -248,6 +248,7 @@ enum DC_DEBUG_MASK {
DC_DISABLE_DSC = 0x4,
DC_DISABLE_CLOCK_GATING = 0x8,
DC_DISABLE_PSR = 0x10,
+ DC_FORCE_SUBVP_MCLK_SWITCH = 0x20,
};
enum amd_dpm_forced_level;