drm/radeon: Provide page_flip_target hook
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 4 Aug 2016 03:39:39 +0000 (12:39 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Aug 2016 18:28:07 +0000 (14:28 -0400)
commitb8fc75cfee43232e12673ddebb3539ea805105ea
tree6eccfc601f4f242f7e020ce08962c1797041e16c
parent3fd4b751c5409f4b9bf67d12b26356406b2af94c
drm/radeon: Provide page_flip_target hook

Now we can program a flip during a vertical blank period, if it's the
one targeted by the flip (or a later one). This allows simplifying
radeon_flip_work_func considerably.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_display.c