summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include/amd_shared.h
diff options
context:
space:
mode:
authorLeo Li <sunpeng.li@amd.com>2022-07-06 21:56:28 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-07-25 16:31:03 +0300
commit8813381a62e1f1703f8fbeccc5fa4fcc988be882 (patch)
tree5fe1a5420c7af1042e60e3731a27a51158d9739f /drivers/gpu/drm/amd/include/amd_shared.h
parent792a0cdde34d417bc2c8266d8015c5fd58d44a0d (diff)
downloadlinux-8813381a62e1f1703f8fbeccc5fa4fcc988be882.tar.xz
drm/amd/display: Add dcdebugmask option for disabling MPO
[Why & How] It's useful to disable MPO when debugging or testing. Therefore, add a dcdebugmask option to disable MPO. Signed-off-by: Leo Li <sunpeng.li@amd.com> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@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.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 1db21d13726d..f175e65b853a 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -249,6 +249,7 @@ enum DC_DEBUG_MASK {
DC_DISABLE_CLOCK_GATING = 0x8,
DC_DISABLE_PSR = 0x10,
DC_FORCE_SUBVP_MCLK_SWITCH = 0x20,
+ DC_DISABLE_MPO = 0x40,
};
enum amd_dpm_forced_level;