summaryrefslogtreecommitdiff
path: root/src/uxa/intel_display.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-01-30 16:49:06 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-01-31 01:27:49 +0000
commit6db906ea8188cd7f731e5ef7391115ee8f5c17c8 (patch)
treec4890a630233f3646ae1859ece838df79428df46 /src/uxa/intel_display.c
parent102a091f5a92cd812dc9f7f8c872cd31cc1b0f2b (diff)
uxa/dri2: Reimplement triple buffer support
Since xorg-server-1.12.0, Xorg has supported adjusting the client swap limits allowing us the implemention of triple buffered flipping with accurate event timestamps. Given that the current implemention has an issue tracking the right GEM name across composite unredirection, it is an approximate juncture to tackle both bugs. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=742911#c1 Testcase: dri2-race + gnome-shell Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/uxa/intel_display.c')
-rw-r--r--src/uxa/intel_display.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/uxa/intel_display.c b/src/uxa/intel_display.c
index d5dce8e2..b2e1c728 100644
--- a/src/uxa/intel_display.c
+++ b/src/uxa/intel_display.c
@@ -1652,9 +1652,6 @@ intel_pageflip_abort(ScrnInfoPtr scrn, xf86CrtcPtr crtc, void *data);
static void
intel_pageflip_complete(struct intel_mode *mode);
-static void
-intel_drm_abort_seq (ScrnInfoPtr scrn, uint32_t seq);
-
Bool
intel_do_pageflip(intel_screen_private *intel,
dri_bo *new_front,
@@ -1843,7 +1840,7 @@ intel_drm_abort(ScrnInfoPtr scrn, Bool (*match)(void *data, void *match_data), v
/*
* Abort by drm queue sequence number
*/
-static void
+void
intel_drm_abort_seq(ScrnInfoPtr scrn, uint32_t seq)
{
struct intel_drm_queue *q;