diff options
author | Andrew Wong <andrew.wong1@amd.com> | 2016-12-12 11:47:47 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:04:55 -0400 |
commit | 4b5752c7422f36664cea2ed300b698b4755b6dc5 (patch) | |
tree | 8fa954cdb004fd0f42b0253c97f5f1169e320682 /drivers | |
parent | 98d2cc2b03d937af36ce5ef227ae57232bbe8471 (diff) | |
download | linux-stable-4b5752c7422f36664cea2ed300b698b4755b6dc5.tar.gz linux-stable-4b5752c7422f36664cea2ed300b698b4755b6dc5.tar.bz2 linux-stable-4b5752c7422f36664cea2ed300b698b4755b6dc5.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |