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 a bus_dm...



details:   https://anonhg.NetBSD.org/src/rev/af0465165406
branches:  riastradh-drm2
changeset: 788194:af0465165406
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 02:39:11 2013 +0000

description:
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.

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drmP.h |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 0c8e4aca71ca -r af0465165406 sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 02:38:55 2013 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 02:39:11 2013 +0000
@@ -1314,6 +1314,7 @@
        /* 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 */



Home | Main Index | Thread Index | Old Index