blob: 24853e8df20e326dada7a51d51bc7b4cbdc09989 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$OpenBSD$
Index: src/sna/kgem.c
--- src/sna/kgem.c.orig
+++ src/sna/kgem.c
@@ -6019,6 +6019,7 @@ retry:
mmap_arg.handle = bo->handle;
mmap_arg.offset = 0;
mmap_arg.size = bytes(bo);
+ mmap_arg.flags = 0;
if ((err = do_ioctl(kgem->fd, DRM_IOCTL_I915_GEM_MMAP, &mmap_arg))) {
assert(err != EINVAL);
|