aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorAndrey Grodzovsky <[email protected]>2017-02-28 21:45:46 +0000
committerAlex Deucher <[email protected]>2017-09-26 21:17:44 +0000
commit2d60ded1325e0b4407aaa5396d1b331ea58f4f85 (patch)
treee80d45c60250f14a20cf4bd295d14446e44af3e8 /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parentdrm/amd/display: Refactor headless to use atomic commit. (v2) (diff)
downloadkernel-2d60ded1325e0b4407aaa5396d1b331ea58f4f85.tar.gz
kernel-2d60ded1325e0b4407aaa5396d1b331ea58f4f85.zip
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 <[email protected]> Acked-by: Harry Wentland <[email protected]> Reviewed-by: Tony Cheng <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions