drm/amd/display: Allow pflips from a framebuffer to itself
authorDavid Francis <David.Francis@amd.com>
Wed, 6 Feb 2019 19:01:29 +0000 (14:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:03 +0000 (15:04 -0500)
commit34bafd27e3429fe0d7422ef4a6f7deaf70151583
treea8d16e4cafbd9cc1deb2f4f1062336ca713ad226
parent0d579c7e25f514bc6e6db0a5e03d827718c1e4ac
drm/amd/display: Allow pflips from a framebuffer to itself

[Why]
IGT expects that pageflips can be triggered with the same
framebuffer before and after the commit

[How]
Expand the definition of pageflip to include any change
with an old framebuffer and a new framebuffer, even if they're
the same

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c