summaryrefslogtreecommitdiff
path: root/src/drmmode_display.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-08-18 15:03:52 +0900
committerMichel Dänzer <michel@daenzer.net>2017-08-22 18:32:05 +0900
commit24b2718992e4bbc859c07e5b29b571f53314045d (patch)
treed307a9e5b2d873667438fb92896507a9ac71fbce /src/drmmode_display.h
parent87a1f577f1de62f6b628bbe221cd8d551531e708 (diff)
Pass reference CRTC to amdgpu_do_pageflip directly
Simplifies the code slightly. (Ported from radeon commit 49cc61ab970ee28d4509b4e2dd0a57165136889f) 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 7071a74..bece0ce 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -209,7 +209,7 @@ extern int drmmode_get_pitch_align(ScrnInfoPtr scrn, int bpe);
extern void drmmode_clear_pending_flip(xf86CrtcPtr crtc);
Bool amdgpu_do_pageflip(ScrnInfoPtr scrn, ClientPtr client,
PixmapPtr new_front, uint64_t id, void *data,
- int ref_crtc_hw_id, amdgpu_drm_handler_proc handler,
+ xf86CrtcPtr ref_crtc, amdgpu_drm_handler_proc handler,
amdgpu_drm_abort_proc abort,
enum drmmode_flip_sync flip_sync,
uint32_t target_msc);