]> 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)
commit8fedef41716e43572df44b5961a1d994311d436b
treed7c4e7f4871471d1e47a8ad7232f685e9498c782
parent0be0152122fb2ec81366b0fa09cdb86751c6e378
drm/ttm: remove cpu_address member from ttm_tt

Patch 73913f422b 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