diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0068-drm-amd-display-Add-debug-option-to-disable-dmcu.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/0068-drm-amd-display-Add-debug-option-to-disable-dmcu.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0068-drm-amd-display-Add-debug-option-to-disable-dmcu.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0068-drm-amd-display-Add-debug-option-to-disable-dmcu.patch deleted file mode 100644 index a855b551..00000000 --- a/common/recipes-kernel/linux/linux-yocto-4.14.71/0068-drm-amd-display-Add-debug-option-to-disable-dmcu.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 0020aa18b2240e9649553c774ac99873b13d25f5 Mon Sep 17 00:00:00 2001 -From: Yongqiang Sun <yongqiang.sun@amd.com> -Date: Thu, 15 Dec 2016 10:50:48 -0500 -Subject: [PATCH 0068/4131] drm/amd/display: Add debug option to disable dmcu - -Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> -Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> -Acked-by: Harry Wentland <Harry.Wentland@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/display/dc/dc.h | 1 + - drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 3 +++ - 2 files changed, 4 insertions(+) - -diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h -index 4cb1948..c7905b3 100644 ---- a/drivers/gpu/drm/amd/display/dc/dc.h -+++ b/drivers/gpu/drm/amd/display/dc/dc.h -@@ -147,6 +147,7 @@ struct dc_debug { - bool disable_dfs_bypass; - bool disable_power_gate; - bool disable_clock_gate; -+ bool disable_dmcu; - }; - - struct dc { -diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c -index c73d605..a8a2290 100644 ---- a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c -+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c -@@ -1821,6 +1821,9 @@ void dce110_link_encoder_init_dmcu_backlight_settings( - uint32_t s2; - uint32_t value; - -+ if (enc->ctx->dc->debug.disable_dmcu) -+ return; -+ - bl_pwm_cntl = REG_READ(BL_PWM_CNTL); - - /* It must not be 0, so we have to restore them --- -2.7.4 - |