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>
This commit is contained in:
Andrew Wong 2016-12-12 11:47:47 -05:00 committed by Alex Deucher
parent 98d2cc2b03
commit 4b5752c742

View File

@ -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;
}