aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0362-drm-amd-display-set-correct-v_total_min-and-v_total_.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0362-drm-amd-display-set-correct-v_total_min-and-v_total_.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0362-drm-amd-display-set-correct-v_total_min-and-v_total_.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0362-drm-amd-display-set-correct-v_total_min-and-v_total_.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0362-drm-amd-display-set-correct-v_total_min-and-v_total_.patch
deleted file mode 100644
index f6f1588f..00000000
--- a/common/recipes-kernel/linux/linux-yocto-4.14.71/0362-drm-amd-display-set-correct-v_total_min-and-v_total_.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From ea17b284d75d1e206ee66b44b6c1cac530365227 Mon Sep 17 00:00:00 2001
-From: Yongqiang Sun <yongqiang.sun@amd.com>
-Date: Tue, 18 Apr 2017 15:35:27 -0400
-Subject: [PATCH 0362/4131] drm/amd/display: set correct v_total_min and
- v_total_max for dce.
-
-Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
-Acked-by: Harry Wentland <Harry.Wentland@amd.com>
-Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c | 4 ++--
- drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
-index 7070aaf..69ae3a8 100644
---- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
-+++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c
-@@ -393,12 +393,12 @@ void dce110_timing_generator_set_drr(
- params->vertical_total_min > 0) {
-
- set_reg_field_value(v_total_max,
-- params->vertical_total_max - 1,
-+ params->vertical_total_max,
- CRTC_V_TOTAL_MAX,
- CRTC_V_TOTAL_MAX);
-
- set_reg_field_value(v_total_min,
-- params->vertical_total_min - 1,
-+ params->vertical_total_min,
- CRTC_V_TOTAL_MIN,
- CRTC_V_TOTAL_MIN);
-
-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 1318df7..6e3e7b6 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
-@@ -540,10 +540,10 @@ void dce120_timing_generator_set_drr(
-
- CRTC_REG_UPDATE(
- CRTC0_CRTC_V_TOTAL_MIN,
-- CRTC_V_TOTAL_MIN, params->vertical_total_min - 1);
-+ CRTC_V_TOTAL_MIN, params->vertical_total_min);
- CRTC_REG_UPDATE(
- CRTC0_CRTC_V_TOTAL_MAX,
-- CRTC_V_TOTAL_MAX, params->vertical_total_max - 1);
-+ CRTC_V_TOTAL_MAX, params->vertical_total_max);
- CRTC_REG_SET_N(CRTC0_CRTC_V_TOTAL_CONTROL, 6,
- FD(CRTC0_CRTC_V_TOTAL_CONTROL__CRTC_V_TOTAL_MIN_SEL), 1,
- FD(CRTC0_CRTC_V_TOTAL_CONTROL__CRTC_V_TOTAL_MAX_SEL), 1,
---
-2.7.4
-