summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>2017-02-28 16:45:46 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:17:44 -0400
commit2d60ded1325e0b4407aaa5396d1b331ea58f4f85 (patch)
treee80d45c60250f14a20cf4bd295d14446e44af3e8 /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parent92cc37fba0b54091b4dde4bced52c1b94d44e11f (diff)
downloadlinux-2d60ded1325e0b4407aaa5396d1b331ea58f4f85.tar.bz2
drm/amd/display: Remove page_fleep_needed function.
This function makes a lot of assumptions to try and deduce tha an atomic_commit came from FLIP ioctl. Those assumptions are not explicit contract with DRM API and might lead to wrong result as the code changes. Instead use drm_atomic_state.allow_modeset flag which explicitly is set to false only in atomic flip helper function, otherwise this flag is always true. P.S When we get to do actual atomic IOCTL this will have to be revised with the atomic call behavior. Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions