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/i915 exclude more scatter-gat...
details: https://anonhg.NetBSD.org/src/rev/02b234f22118
branches: trunk
changeset: 1028499:02b234f22118
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:11:27 2021 +0000
description:
exclude more scatter-gather code that isn't used
Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_scatterlist.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 4a0dbb727ac3 -r 02b234f22118 sys/external/bsd/drm2/dist/drm/i915/i915_scatterlist.h
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_scatterlist.h Sun Dec 19 11:11:19 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_scatterlist.h Sun Dec 19 11:11:27 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i915_scatterlist.h,v 1.3 2021/12/19 01:24:26 riastradh Exp $ */
+/* $NetBSD: i915_scatterlist.h,v 1.4 2021/12/19 11:11:27 riastradh Exp $ */
/*
* SPDX-License-Identifier: MIT
@@ -15,6 +15,7 @@
#include "i915_gem.h"
+#ifdef __linux__
/*
* Optimised SGL iterator for GEM objects
*/
@@ -41,7 +42,6 @@
return s;
}
-#ifndef __NetBSD__
static inline int __sg_page_count(const struct scatterlist *sg)
{
return sg->length >> PAGE_SHIFT;
Home |
Main Index |
Thread Index |
Old Index