aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h
diff options
context:
space:
mode:
authorQingqing Zhuo <[email protected]>2019-06-27 23:17:23 +0000
committerAlex Deucher <[email protected]>2019-07-18 19:27:25 +0000
commit290129c256179d5bbf822016e1729b8e9ed4875b (patch)
tree557d805d04fefc3d00fad1caaa25b60ff94dcd9e /drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h
parentdrm/amd/display: Add MPC 3DLUT resource management (diff)
downloadkernel-290129c256179d5bbf822016e1729b8e9ed4875b.tar.gz
kernel-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 <[email protected]> Reviewed-by: Charlene Liu <[email protected]> Acked-by: Leo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h
index 60c671fcf186..9b69a06ab46f 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h
@@ -42,6 +42,7 @@ struct dpp {
#if defined(CONFIG_DRM_AMD_DC_DCN2_0)
struct pwl_params shaper_params;
+ bool cm_bypass_mode;
#endif
};