aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0506-drm-amd-display-Temporary-disable-BTR-FreeSync-suppo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0506-drm-amd-display-Temporary-disable-BTR-FreeSync-suppo.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0506-drm-amd-display-Temporary-disable-BTR-FreeSync-suppo.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0506-drm-amd-display-Temporary-disable-BTR-FreeSync-suppo.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0506-drm-amd-display-Temporary-disable-BTR-FreeSync-suppo.patch
new file mode 100644
index 00000000..d049e935
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0506-drm-amd-display-Temporary-disable-BTR-FreeSync-suppo.patch
@@ -0,0 +1,43 @@
+From b0f1db6b130b28911a0afd8639ce8b7cff2df0e7 Mon Sep 17 00:00:00 2001
+From: Anthony Koo <Anthony.Koo@amd.com>
+Date: Tue, 6 Jun 2017 16:30:51 -0400
+Subject: [PATCH 0506/4131] drm/amd/display: Temporary disable BTR FreeSync
+ support for now
+
+Reduce timer tick interval for the static screen
+
+Signed-off-by: Anthony Koo <anthony.koo@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/modules/freesync/freesync.c | 13 ++++++++-----
+ 1 file changed, 8 insertions(+), 5 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
+index f79c479..7109742 100644
+--- a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
++++ b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
+@@ -436,11 +436,14 @@ static void calc_freesync_range(struct core_freesync *core_freesync,
+ }
+
+ /* Determine whether BTR can be supported */
+- if (max_frame_duration_in_ns >=
+- 2 * min_frame_duration_in_ns)
+- core_freesync->map[index].caps->btr_supported = true;
+- else
+- core_freesync->map[index].caps->btr_supported = false;
++ //if (max_frame_duration_in_ns >=
++ // 2 * min_frame_duration_in_ns)
++ // core_freesync->map[index].caps->btr_supported = true;
++ //else
++ // core_freesync->map[index].caps->btr_supported = false;
++
++ /* Temp, keep btr disabled */
++ core_freesync->map[index].caps->btr_supported = false;
+
+ /* Cache the time variables */
+ state->time.max_render_time_in_us =
+--
+2.7.4
+