Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/libdrm/dist/intel Undo local diffs.
details: https://anonhg.NetBSD.org/xsrc/rev/d4bfa5323895
branches: trunk
changeset: 10372:d4bfa5323895
user: maya <maya%NetBSD.org@localhost>
date: Wed Aug 07 13:02:16 2019 +0000
description:
Undo local diffs.
Whitespace, and header not needed.
diffstat:
external/mit/libdrm/dist/intel/intel_bufmgr_gem.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r e606b52fca3a -r d4bfa5323895 external/mit/libdrm/dist/intel/intel_bufmgr_gem.c
--- a/external/mit/libdrm/dist/intel/intel_bufmgr_gem.c Tue Aug 06 11:57:13 2019 +0000
+++ b/external/mit/libdrm/dist/intel/intel_bufmgr_gem.c Wed Aug 07 13:02:16 2019 +0000
@@ -43,7 +43,6 @@
#include <unistd.h>
#include <assert.h>
#include <pthread.h>
-#include <stddef.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
@@ -1539,9 +1538,9 @@
}
/* and mmap it */
- bo_gem->gtt_virtual = drm_mmap(0, bo->size, PROT_READ | PROT_WRITE,
- MAP_SHARED, bufmgr_gem->fd,
- mmap_arg.offset);
+ bo_gem->gtt_virtual = drm_mmap(0, bo->size, PROT_READ | PROT_WRITE,
+ MAP_SHARED, bufmgr_gem->fd,
+ mmap_arg.offset);
if (bo_gem->gtt_virtual == MAP_FAILED) {
bo_gem->gtt_virtual = NULL;
ret = -errno;
Home |
Main Index |
Thread Index |
Old Index