aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0446-drm-amd-display-Tidy-up-dce120_timing_generator_enab.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0446-drm-amd-display-Tidy-up-dce120_timing_generator_enab.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0446-drm-amd-display-Tidy-up-dce120_timing_generator_enab.patch71
1 files changed, 0 insertions, 71 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0446-drm-amd-display-Tidy-up-dce120_timing_generator_enab.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0446-drm-amd-display-Tidy-up-dce120_timing_generator_enab.patch
deleted file mode 100644
index 00509c72..00000000
--- a/common/recipes-kernel/linux/linux-yocto-4.14.71/0446-drm-amd-display-Tidy-up-dce120_timing_generator_enab.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From f94cea76a922337f2df45b53bf6e5a727077122b Mon Sep 17 00:00:00 2001
-From: Tom St Denis <tom.stdenis@amd.com>
-Date: Tue, 16 May 2017 10:22:00 -0400
-Subject: [PATCH 0446/4131] drm/amd/display: Tidy up
- dce120_timing_generator_enable_advanced_request()
-
-Simplify the function by removing identical looking code blocks.
-
-Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
-Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- .../display/dc/dce120/dce120_timing_generator.c | 37 +++++++---------------
- 1 file changed, 12 insertions(+), 25 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c b/drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
-index dc8eeac..13cc0d4 100644
---- a/drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
-+++ b/drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c
-@@ -669,36 +669,23 @@ void dce120_timing_generator_enable_advanced_request(
- mmCRTC0_CRTC_START_LINE_CONTROL,
- tg110->offsets.crtc);
-
--
-- if (enable) {
-- set_reg_field_value(
-- value,
-- 0,
-- CRTC0_CRTC_START_LINE_CONTROL,
-- CRTC_LEGACY_REQUESTOR_EN);
-- } else {
-- set_reg_field_value(
-- value,
-- 1,
-- CRTC0_CRTC_START_LINE_CONTROL,
-- CRTC_LEGACY_REQUESTOR_EN);
-- }
-+ set_reg_field_value(
-+ value,
-+ enable ? 0 : 1,
-+ CRTC0_CRTC_START_LINE_CONTROL,
-+ CRTC_LEGACY_REQUESTOR_EN);
-
- /* Program advanced line position acc.to the best case from fetching data perspective to hide MC latency
- * and prefilling Line Buffer in V Blank (to 10 lines as LB can store max 10 lines)
- */
- if (v_sync_width_and_b_porch > 10)
-- set_reg_field_value(
-- value,
-- 10,
-- CRTC0_CRTC_START_LINE_CONTROL,
-- CRTC_ADVANCED_START_LINE_POSITION);
-- else
-- set_reg_field_value(
-- value,
-- v_sync_width_and_b_porch,
-- CRTC0_CRTC_START_LINE_CONTROL,
-- CRTC_ADVANCED_START_LINE_POSITION);
-+ v_sync_width_and_b_porch = 10;
-+
-+ set_reg_field_value(
-+ value,
-+ v_sync_width_and_b_porch,
-+ CRTC0_CRTC_START_LINE_CONTROL,
-+ CRTC_ADVANCED_START_LINE_POSITION);
-
- dm_write_reg_soc15(tg->ctx,
- mmCRTC0_CRTC_START_LINE_CONTROL,
---
-2.7.4
-