Module Name: src
Committed By: riastradh
Date: Mon Aug 27 15:28:03 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm: drmP.h
Log Message:
Clarify what bus_dmat and dmat are.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 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.29 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.30
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.29 Mon Aug 27 15:26:50 2018
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h Mon Aug 27 15:28:03 2018
@@ -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 @@ struct drm_device {
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;