Module Name:    src
Committed By:   riastradh
Date:           Wed Jul 24 02:39:11 UTC 2013

Modified Files:
        src/sys/external/bsd/drm2/dist/include/drm [riastradh-drm2]: drmP.h

Log Message:
Add a bus_dma tag to struct drm_device.

Old drm got at this through the struct pci_attach_args sequestered
away somewhere in struct drm_device, but this way access to the dma
tag is bus-independent.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1.2.32 -r1.1.1.1.2.33 \
    src/sys/external/bsd/drm2/dist/include/drm/drmP.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/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.32 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.33
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.1.1.1.2.32	Wed Jul 24 02:38:55 2013
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h	Wed Jul 24 02:39:11 2013
@@ -1314,6 +1314,7 @@ struct drm_device {
 	/* XXX What does this have to do with AGP?  */
 	struct drm_bus_map *agp_maps;
 	size_t agp_nmaps;
+	bus_dma_tag_t dmat;
 #endif
 
 	struct drm_sg_mem *sg;	/**< Scatter gather memory */

Reply via email to