aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/amd_shared.h
diff options
context:
space:
mode:
authorAurabindo Pillai <aurabindo.pillai@amd.com>2025-01-13 17:05:16 -0500
committerAlex Deucher <alexander.deucher@amd.com>2025-01-24 09:52:31 -0500
commit9d63fbf75158811bccd08c5ac9b2db70427c3e51 (patch)
tree25014f8ebe22dc2c9ebd99029f09b3ef15ec3eab /drivers/gpu/drm/amd/include/amd_shared.h
parentdrm/amdkfd: Sync trap handler binary with source (diff)
downloadlinux-9d63fbf75158811bccd08c5ac9b2db70427c3e51.tar.gz
linux-9d63fbf75158811bccd08c5ac9b2db70427c3e51.zip
drm/amd: Add debug option to disable subvp
Some monitors flicker when subvp is enabled which maybe related to an uncommon timing they use. To isolate such issues, add a debug option to help isolate this the issue for debugging. Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Suggested-by: Alex Deucher <alexander.deucher@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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index 05bdb4e020ae..c3e6dd4f4e00 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -349,6 +349,11 @@ enum DC_DEBUG_MASK {
* @DC_DISABLE_HDMI_CEC: If set, disable HDMI-CEC feature in amdgpu driver.
*/
DC_DISABLE_HDMI_CEC = 0x10000,
+
+ /*
+ * @DC_DISABLE_SUBVP: If set, disable DCN Sub-Viewport feature in amdgpu driver.
+ */
+ DC_DISABLE_SUBVP = 0x20000,
};
enum amd_dpm_forced_level;