From: Andrew Wong Date: Mon, 12 Dec 2016 16:47:47 +0000 (-0500) Subject: drm/amd/display: Retrieve windowed fullscreen state X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4b5752c7422f36664cea2ed300b698b4755b6dc5;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Retrieve windowed fullscreen state - Retrieve windowed fullscreen state when getting freesync params. Signed-off-by: Andrew Wong Reviewed-by: Anthony Koo Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- 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; }