aboutsummaryrefslogtreecommitdiff
path: root/render/dmabuf_fallback.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/dmabuf_fallback.c')
-rw-r--r--render/dmabuf_fallback.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/render/dmabuf_fallback.c b/render/dmabuf_fallback.c
new file mode 100644
index 00000000..8cd31384
--- /dev/null
+++ b/render/dmabuf_fallback.c
@@ -0,0 +1,12 @@
+#include <wlr/util/log.h>
+
+#include "render/dmabuf.h"
+
+bool dmabuf_check_sync_file_import_export(void) {
+ return false;
+}
+
+bool dmabuf_import_sync_file(int dmabuf_fd, uint32_t flags, int sync_file_fd) {
+ wlr_log(WLR_ERROR, "DMA-BUF sync_file import IOCTL not available on this system");
+ return false;
+}