[PATCH 3/7] drm/amd/display: Retrieve windowed fullscreen state
Harry Wentland
harry.wentland at amd.com
Wed Dec 14 22:35:44 UTC 2016
From: Andrew Wong <andrew.wong1 at amd.com>
- Retrieve windowed fullscreen state when getting freesync params.
Change-Id: Idde76f5c216016b24abc51e654a59ce473960be8
Signed-off-by: Andrew Wong <andrew.wong1 at amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at 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 8892e8bec7c3..6f4d169f4e4e 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.9.3
More information about the amd-gfx
mailing list