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 Clarify what bus_dmat...



details:   https://anonhg.NetBSD.org/src/rev/6c5e7b881863
branches:  trunk
changeset: 364882:6c5e7b881863
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 15:28:03 2018 +0000

description:
Clarify what bus_dmat and dmat are.

diffstat:

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

diffs (20 lines):

diff -r 49f38103603d -r 6c5e7b881863 sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Mon Aug 27 15:27:43 2018 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Mon Aug 27 15:28:03 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drmP.h,v 1.29 2018/08/27 15:26:50 riastradh Exp $      */
+/*     $NetBSD: drmP.h,v 1.30 2018/08/27 15:28:03 riastradh Exp $      */
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -919,8 +919,8 @@
        bus_space_tag_t bst;
        struct drm_bus_map *bus_maps;
        unsigned bus_nmaps;
-       bus_dma_tag_t bus_dmat;
-       bus_dma_tag_t dmat;
+       bus_dma_tag_t bus_dmat; /* bus's full DMA tag, for internal use */
+       bus_dma_tag_t dmat;     /* DMA tag for driver, may be subregion */
        bool dmat_subregion_p;
        bus_addr_t dmat_subregion_min;
        bus_addr_t dmat_subregion_max;



Home | Main Index | Thread Index | Old Index