diff options
author | Simon Ser <contact@emersion.fr> | 2022-05-26 14:44:02 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-11-28 23:50:41 +0000 |
commit | aaf828d3d24c79c2207e83d38a76c7f1cc33084f (patch) | |
tree | df2db2c083766bce86e1b870909c7500859b3e73 /render/dmabuf_fallback.c | |
parent | 10f543d5792ec0a74688c4da3781f6f84fb2ed9d (diff) |
render/dmabuf: add dmabuf_import_sync_file
References: https://lore.kernel.org/dri-devel/20220506180216.2095060-1-jason@jlekstrand.net/
Diffstat (limited to 'render/dmabuf_fallback.c')
-rw-r--r-- | render/dmabuf_fallback.c | 12 |
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; +} |