diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2016-09-16 18:32:26 +0900 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-09-16 15:53:05 -0400 |
commit | af1f85ddecfa341e684db950c34a1813d36750db (patch) | |
tree | d7c4e7f4871471d1e47a8ad7232f685e9498c782 /include/drm/ttm | |
parent | 0aa3e2d0cbff4c42997d75f35bb660fd382544e6 (diff) | |
download | linux-stable-af1f85ddecfa341e684db950c34a1813d36750db.tar.gz linux-stable-af1f85ddecfa341e684db950c34a1813d36750db.tar.bz2 linux-stable-af1f85ddecfa341e684db950c34a1813d36750db.zip |
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/drm/ttm')
-rw-r--r-- | include/drm/ttm/ttm_bo_driver.h | 2 |
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 { * struct ttm_dma_tt * * @ttm: Base ttm_tt struct. - * @cpu_address: The CPU address of the pages * @dma_address: The DMA (bus) addresses of the pages * @pages_list: used by some page allocation backend * @@ -143,7 +142,6 @@ struct ttm_tt { */ struct ttm_dma_tt { struct ttm_tt ttm; - void **cpu_address; dma_addr_t *dma_address; struct list_head pages_list; }; |