aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0059-drm-amd-display-Retrieve-windowed-fullscreen-state.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0059-drm-amd-display-Retrieve-windowed-fullscreen-state.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0059-drm-amd-display-Retrieve-windowed-fullscreen-state.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0059-drm-amd-display-Retrieve-windowed-fullscreen-state.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0059-drm-amd-display-Retrieve-windowed-fullscreen-state.patch
new file mode 100644
index 00000000..95806abe
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0059-drm-amd-display-Retrieve-windowed-fullscreen-state.patch
@@ -0,0 +1,32 @@
+From 1034ce528a58e5362e616b94259e77cb600e5500 Mon Sep 17 00:00:00 2001
+From: Andrew Wong <andrew.wong1@amd.com>
+Date: Mon, 12 Dec 2016 11:47:47 -0500
+Subject: [PATCH 0059/4131] drm/amd/display: Retrieve windowed fullscreen state
+
+- Retrieve windowed fullscreen state when getting freesync params.
+
+Signed-off-by: Andrew Wong <andrew.wong1@amd.com>
+Reviewed-by: Anthony Koo <Anthony.Koo@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 | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
+index 8892e8b..6f4d169 100644
+--- a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
++++ b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
+@@ -784,6 +784,9 @@ bool mod_freesync_get_state(struct mod_freesync *mod_freesync,
+ freesync_params->update_duration_in_ns =
+ core_freesync->map[index].state.time.update_duration_in_ns;
+
++ freesync_params->windowed_fullscreen =
++ core_freesync->map[index].state.windowed_fullscreen;
++
+ return true;
+ }
+
+--
+2.7.4
+