mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
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:
parent
98d2cc2b03
commit
4b5752c742
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user