Commit 4b5752c7 authored by Andrew Wong's avatar Andrew Wong Committed by Alex Deucher

drm/amd/display: Retrieve windowed fullscreen state

- Retrieve windowed fullscreen state when getting freesync params.
Signed-off-by: default avatarAndrew Wong <andrew.wong1@amd.com>
Reviewed-by: default avatarAnthony Koo <Anthony.Koo@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 98d2cc2b
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment