summaryrefslogtreecommitdiff
path: root/src/drmmode_display.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-08-01 18:45:53 +0900
committerMichel Dänzer <michel@daenzer.net>2017-08-17 15:23:34 +0900
commit49cc61ab970ee28d4509b4e2dd0a57165136889f (patch)
tree9b36f6bbe85fde115a3715ee3f25db77a2d47bde /src/drmmode_display.h
parent3f120fa1d5d921656a367751bc079e020e9ab105 (diff)
Pass reference CRTC to radeon_do_pageflip directly
Simplifies the code slightly. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r--src/drmmode_display.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index 82dcff0e..f2104789 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -219,7 +219,7 @@ extern void drmmode_clear_pending_flip(xf86CrtcPtr crtc);
Bool radeon_do_pageflip(ScrnInfoPtr scrn, ClientPtr client,
PixmapPtr new_front, uint64_t id, void *data,
- int ref_crtc_hw_id, radeon_drm_handler_proc handler,
+ xf86CrtcPtr ref_crtc, radeon_drm_handler_proc handler,
radeon_drm_abort_proc abort,
enum drmmode_flip_sync flip_sync,
uint32_t target_msc);