summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2016-08-04 12:39:39 +0900
committerAlex Deucher <alexander.deucher@amd.com>2016-08-10 14:28:07 -0400
commitb8fc75cfee43232e12673ddebb3539ea805105ea (patch)
tree6eccfc601f4f242f7e020ce08962c1797041e16c /drivers/gpu/drm/radeon/radeon.h
parent3fd4b751c5409f4b9bf67d12b26356406b2af94c (diff)
downloadop-kernel-dev-b8fc75cfee43232e12673ddebb3539ea805105ea.zip
op-kernel-dev-b8fc75cfee43232e12673ddebb3539ea805105ea.tar.gz
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 5633ee3..1b0dcad 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -742,6 +742,7 @@ struct radeon_flip_work {
struct work_struct unpin_work;
struct radeon_device *rdev;
int crtc_id;
+ u32 target_vblank;
uint64_t base;
struct drm_pending_vblank_event *event;
struct radeon_bo *old_rbo;
OpenPOWER on IntegriCloud