]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: remove cpu_address member from ttm_tt
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 16 Sep 2016 09:32:26 +0000 (18:32 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Sep 2016 19:53:05 +0000 (15:53 -0400)
commitaf1f85ddecfa341e684db950c34a1813d36750db
treed7c4e7f4871471d1e47a8ad7232f685e9498c782
parent0aa3e2d0cbff4c42997d75f35bb660fd382544e6
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>
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
drivers/gpu/drm/ttm/ttm_tt.c
include/drm/ttm/ttm_bo_driver.h