Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 09:57:09 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/dist/include/drm/ttm: ttm_tt.h

Log Message:
Restore local diff

Author: Maya Rashish <m...@netbsd.org>


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h:1.2 src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h:1.3
--- src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h:1.2	Sat Dec 18 23:45:46 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_tt.h	Sun Dec 19 09:57:09 2021
@@ -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_tt {
  */
 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;
 };
 

Reply via email to