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/include/drm drm: Let's go one segment ...



details:   https://anonhg.NetBSD.org/src/rev/7a9f1ed7f3f7
branches:  trunk
changeset: 1028639:7a9f1ed7f3f7
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:33:59 2021 +0000

description:
drm: Let's go one segment at a time, not two, shall we?

diffstat:

 sys/external/bsd/drm2/include/drm/bus_dma_hacks.h |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 0f94d2247f3b -r 7a9f1ed7f3f7 sys/external/bsd/drm2/include/drm/bus_dma_hacks.h
--- a/sys/external/bsd/drm2/include/drm/bus_dma_hacks.h Sun Dec 19 11:33:49 2021 +0000
+++ b/sys/external/bsd/drm2/include/drm/bus_dma_hacks.h Sun Dec 19 11:33:59 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_dma_hacks.h,v 1.22 2021/12/19 11:33:31 riastradh Exp $     */
+/*     $NetBSD: bus_dma_hacks.h,v 1.23 2021/12/19 11:33:59 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -171,7 +171,6 @@
 
                segs[seg].ds_addr = baddr;
                segs[seg].ds_len = PAGE_SIZE;
-               seg++;
        }
 
        error = bus_dmamap_load_raw(tag, map, segs, nsegs, size, flags);



Home | Main Index | Thread Index | Old Index