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 Maybe we can just get aw...



details:   https://anonhg.NetBSD.org/src/rev/e15e52eba3bc
branches:  trunk
changeset: 1028500:e15e52eba3bc
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:11:35 2021 +0000

description:
Maybe we can just get away with not defining anything in this header?


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, 1 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 02b234f22118 -r e15e52eba3bc 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:27 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_scatterlist.h    Sun Dec 19 11:11:35 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_scatterlist.h,v 1.4 2021/12/19 11:11:27 riastradh Exp $   */
+/*     $NetBSD: i915_scatterlist.h,v 1.5 2021/12/19 11:11:35 riastradh Exp $   */
 
 /*
  * SPDX-License-Identifier: MIT
@@ -46,7 +46,6 @@
 {
        return sg->length >> PAGE_SHIFT;
 }
-#endif
 
 static inline struct scatterlist *____sg_next(struct scatterlist *sg)
 {
@@ -111,7 +110,6 @@
        return page_sizes;
 }
 
-#ifndef __NetBSD__
 static inline unsigned int i915_sg_segment_size(void)
 {
        unsigned int size = swiotlb_max_segment();



Home | Main Index | Thread Index | Old Index