Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/nouveau Fix sense of drm prim...
details: https://anonhg.NetBSD.org/src/rev/3b5c29771f1d
branches: trunk
changeset: 331251:3b5c29771f1d
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Aug 06 13:54:10 2014 +0000
description:
Fix sense of drm prime conditional.
diffstat:
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4ce7efdb0b6b -r 3b5c29771f1d sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c Wed Aug 06 13:53:12 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c Wed Aug 06 13:54:10 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nouveau_bo.c,v 1.2 2014/08/06 13:35:13 riastradh Exp $ */
+/* $NetBSD: nouveau_bo.c,v 1.3 2014/08/06 13:54:10 riastradh Exp $ */
/*
* Copyright 2007 Dave Airlied
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_bo.c,v 1.2 2014/08/06 13:35:13 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_bo.c,v 1.3 2014/08/06 13:54:10 riastradh Exp $");
#include <core/engine.h>
#include <linux/swiotlb.h>
@@ -1405,7 +1405,7 @@
if (ttm->state != tt_unpopulated)
return 0;
-#ifdef __NetBSD__ /* XXX drm prime */
+#ifndef __NetBSD__ /* XXX drm prime */
if (slave && ttm->sg) {
/* make userspace faulting work */
drm_prime_sg_to_page_addr_arrays(ttm->sg, ttm->pages,
Home |
Main Index |
Thread Index |
Old Index