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/include/drm/ttm Restore local diff



details:   https://anonhg.NetBSD.org/src/rev/db9b7fb68557
branches:  trunk
changeset: 1028256:db9b7fb68557
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:57:09 2021 +0000

description:
Restore local diff


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r a61d1df16d81 -r db9b7fb68557 sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h
--- a/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h       Sun Dec 19 09:57:01 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h       Sun Dec 19 09:57:09 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttm_tt.h,v 1.2 2021/12/18 23:45:46 riastradh Exp $     */
+/*     $NetBSD: ttm_tt.h,v 1.3 2021/12/19 09:57:09 riastradh Exp $     */
 
 /**************************************************************************
  *
@@ -133,7 +133,12 @@
  */
 struct ttm_dma_tt {
        struct ttm_tt ttm;
+#ifdef __NetBSD__
+       bus_dma_segment_t *dma_segs;
+       bus_dmamap_t dma_address;
+#else
        dma_addr_t *dma_address;
+#endif
        struct list_head pages_list;
 };
 



Home | Main Index | Thread Index | Old Index