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/ttm This is not merely `not f...



details:   https://anonhg.NetBSD.org/src/rev/851a824d9952
branches:  trunk
changeset: 993199:851a824d9952
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Aug 30 01:19:49 2018 +0000

description:
This is not merely `not for NetBSD'; upstream it's #if 0 altogether.

Always has been.

diffstat:

 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 75f42cbaa272 -r 851a824d9952 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c  Wed Aug 29 19:31:35 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c  Thu Aug 30 01:19:49 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttm_bo_util.c,v 1.13 2018/08/29 19:30:46 mrg Exp $     */
+/*     $NetBSD: ttm_bo_util.c,v 1.14 2018/08/30 01:19:49 riastradh Exp $       */
 
 /**************************************************************************
  *
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttm_bo_util.c,v 1.13 2018/08/29 19:30:46 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_bo_util.c,v 1.14 2018/08/30 01:19:49 riastradh Exp $");
 
 #include <drm/ttm/ttm_bo_driver.h>
 #include <drm/ttm/ttm_placement.h>
@@ -703,7 +703,7 @@
                return -EINVAL;
        if (start_page > bo->num_pages)
                return -EINVAL;
-#ifndef __NetBSD__
+#if 0
        if (num_pages > 1 && !capable(CAP_SYS_ADMIN))
                return -EPERM;
 #endif



Home | Main Index | Thread Index | Old Index