Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xf86-video-intel/dist/src/sna set mmap_arg.fl...
details: https://anonhg.NetBSD.org/xsrc/rev/627ff351bf71
branches: trunk
changeset: 9985:627ff351bf71
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Aug 28 08:45:20 2018 +0000
description:
set mmap_arg.flags before calling DRM_IOCTL_I915_GEM_MMAP.
diffstat:
external/mit/xf86-video-intel/dist/src/sna/kgem.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 85cdf3212a41 -r 627ff351bf71 external/mit/xf86-video-intel/dist/src/sna/kgem.c
--- a/external/mit/xf86-video-intel/dist/src/sna/kgem.c Tue Aug 28 05:52:12 2018 +0000
+++ b/external/mit/xf86-video-intel/dist/src/sna/kgem.c Tue Aug 28 08:45:20 2018 +0000
@@ -527,6 +527,7 @@
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);
Home |
Main Index |
Thread Index |
Old Index