summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dc.h
diff options
context:
space:
mode:
authorQingqing Zhuo <qingqing.zhuo@amd.com>2019-06-27 19:17:23 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-07-18 14:27:25 -0500
commit290129c256179d5bbf822016e1729b8e9ed4875b (patch)
tree557d805d04fefc3d00fad1caaa25b60ff94dcd9e /drivers/gpu/drm/amd/display/dc/dc.h
parenta2080098692173cf27282f686e341b184f9d68e3 (diff)
downloadlinux-290129c256179d5bbf822016e1729b8e9ed4875b.tar.gz
linux-290129c256179d5bbf822016e1729b8e9ed4875b.tar.bz2
linux-290129c256179d5bbf822016e1729b8e9ed4875b.zip
drm/amd/display: Add CM_BYPASS via debug option
[Why] bypass CM block and MPC ogam for debug or triage use. [How] create a new flag cm_bypass_mode, which will set both CM_CONTROL and MPCC_OGAM_MODE to bypass when set to 1. Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index 421932ac3b26..27900297bdcf 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -379,6 +379,9 @@ struct dc_debug_options {
*/
unsigned int force_min_dcfclk_mhz;
bool disable_timing_sync;
+#if defined(CONFIG_DRM_AMD_DC_DCN2_0)
+ bool cm_in_bypass;
+#endif
};
struct dc_debug_data {