Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/include/drm Add fields t...
details: https://anonhg.NetBSD.org/src/rev/46f9a5e4a50d
branches: riastradh-drm2
changeset: 788197:46f9a5e4a50d
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:39:57 2013 +0000
description:
Add fields to struct drm_sg_mem for NetBSD bus_dma.
diffstat:
sys/external/bsd/drm2/dist/include/drm/drmP.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diffs (22 lines):
diff -r 85f9210c29ff -r 46f9a5e4a50d sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h Wed Jul 24 02:39:42 2013 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h Wed Jul 24 02:39:57 2013 +0000
@@ -618,9 +618,18 @@
struct drm_sg_mem {
unsigned long handle;
void *virtual;
+#ifdef __NetBSD__
+ size_t sg_size;
+ bus_dma_tag_t sg_tag;
+ bus_dmamap_t sg_map;
+ unsigned int sg_nsegs;
+ unsigned int sg_nsegs_max;
+ bus_dma_segment_t sg_segs[];
+#else
int pages;
struct page **pagelist;
dma_addr_t *busaddr;
+#endif
};
struct drm_sigdata {
Home |
Main Index |
Thread Index |
Old Index