aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2016-09-16 05:32:26 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-09-16 15:53:05 -0400
commitaf1f85ddecfa341e684db950c34a1813d36750db (patch)
treed7c4e7f4871471d1e47a8ad7232f685e9498c782 /include
parent0aa3e2d0cbff4c42997d75f35bb660fd382544e6 (diff)
drm/ttm: remove cpu_address member from ttm_tt
Patch 3d50d4dcb0 exposed the CPU address of DMA-allocated pages as returned by dma_alloc_coherent because Nouveau on Tegra needed it. This is not required anymore - as there were no other users for it, remove it and save some memory for everyone. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/ttm/ttm_bo_driver.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index c986fa7effd2..4f0a92185995 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -133,7 +133,6 @@ struct ttm_tt {
133 * struct ttm_dma_tt 133 * struct ttm_dma_tt
134 * 134 *
135 * @ttm: Base ttm_tt struct. 135 * @ttm: Base ttm_tt struct.
136 * @cpu_address: The CPU address of the pages
137 * @dma_address: The DMA (bus) addresses of the pages 136 * @dma_address: The DMA (bus) addresses of the pages
138 * @pages_list: used by some page allocation backend 137 * @pages_list: used by some page allocation backend
139 * 138 *
@@ -143,7 +142,6 @@ struct ttm_tt {
143 */ 142 */
144struct ttm_dma_tt { 143struct ttm_dma_tt {
145 struct ttm_tt ttm; 144 struct ttm_tt ttm;
146 void **cpu_address;
147 dma_addr_t *dma_address; 145 dma_addr_t *dma_address;
148 struct list_head pages_list; 146 struct list_head pages_list;
149}; 147};