OSDN Git Service

drm/amd/display: Know what a pageflip is
authorDavid Francis <David.Francis@amd.com>
Wed, 12 Dec 2018 19:11:53 +0000 (14:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:36 +0000 (16:15 -0500)
commitb2e85302494a6b7d3a3006c8d80a729377600628
treef11dcc6cbde95d33e856992a0a0016ffbcc29ccb
parentbc7f670ee04cd619f8c4627c37d77b3618bc5edd
drm/amd/display: Know what a pageflip is

[Why]
We were assuming that any commit with allow_modeset == false
was a pageflip.  This was against drm intention and only
worked by sheer luck

[How]
A pageflip is the change from one framebuffer to another

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c