drm/ttm: do not keep GPU dependent addresses

GPU address handling is device specific and should be handle by its device
driver.

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/372937/
Signed-off-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
Nirmoy Das
2020-06-24 20:26:48 +02:00
committed by Christian König
parent d41a39dda1
commit 6407d666c5
3 changed files with 0 additions and 10 deletions

View File

@@ -213,8 +213,6 @@ struct ttm_buffer_object {
* either of these locks held.
*/
uint64_t offset; /* GPU address space is independent of CPU word size */
struct sg_table *sg;
};

View File

@@ -177,7 +177,6 @@ struct ttm_mem_type_manager {
bool has_type;
bool use_type;
uint32_t flags;
uint64_t gpu_offset; /* GPU address space is independent of CPU word size */
uint64_t size;
uint32_t available_caching;
uint32_t default_caching;