diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-03-19 12:15:52 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-03-25 18:29:07 +0900 |
commit | 7b4fc4a677d252d01c2bf80d162bc35814059eaa (patch) | |
tree | c84ddc5a44a14e2ade35cdd1169f204c22ee94ee /src/radeon_dri2.c | |
parent | af6076241c0d322b295a4e898407ae2472bd8eb4 (diff) |
Make radeon_do_pageflip take a BO handle directly
Reviewed-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_dri2.c')
-rw-r--r-- | src/radeon_dri2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c index 02e8e8f6..26364562 100644 --- a/src/radeon_dri2.c +++ b/src/radeon_dri2.c @@ -647,8 +647,9 @@ radeon_dri2_schedule_flip(ScrnInfoPtr scrn, ClientPtr client, back_priv = back->driverPrivate; bo = radeon_get_pixmap_bo(back_priv->pixmap); - return radeon_do_pageflip(scrn, client, bo, RADEON_DRM_QUEUE_ID_DEFAULT, - flip_info, ref_crtc_hw_id, + return radeon_do_pageflip(scrn, client, bo->handle, + RADEON_DRM_QUEUE_ID_DEFAULT, flip_info, + ref_crtc_hw_id, radeon_dri2_flip_event_handler, radeon_dri2_flip_event_abort); } |