diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-08-04 12:39:39 +0900 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-10 14:28:07 -0400 |
commit | b8fc75cfee43232e12673ddebb3539ea805105ea (patch) | |
tree | 6eccfc601f4f242f7e020ce08962c1797041e16c /drivers/gpu/drm/radeon/radeon.h | |
parent | 3fd4b751c5409f4b9bf67d12b26356406b2af94c (diff) | |
download | op-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.h | 1 |
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; |