[RFC xserver v3 06/11] glamor: Initialize DMA sync fences
Louis-Francis Ratté-Boulianne
lfrb at collabora.com
Mon Nov 6 21:42:55 UTC 2017
Enable support for DMA fences in Glamor backend.
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb at collabora.com>
---
glamor/glamor_sync.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/glamor/glamor_sync.c b/glamor/glamor_sync.c
index 71835fcc4..a812d9219 100644
--- a/glamor/glamor_sync.c
+++ b/glamor/glamor_sync.c
@@ -22,6 +22,7 @@
#include "glamor_priv.h"
+#include "misyncdma.h"
#include "misyncshm.h"
#include "misyncstr.h"
@@ -105,6 +106,9 @@ glamor_sync_init(ScreenPtr screen)
return FALSE;
#endif
+ if (!miSyncDmaScreenInit(screen))
+ return FALSE;
+
screen_funcs = miSyncGetScreenFuncs(screen);
glamor->saved_procs.sync_screen_funcs.CreateFence = screen_funcs->CreateFence;
screen_funcs->CreateFence = glamor_sync_create_fence;
--
2.13.0
More information about the xorg-devel
mailing list