drm/ttm: use gem vma_node
Drop vma_node from ttm_buffer_object, use the gem struct (base.vma_node) instead. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: http://patchwork.freedesktop.org/patch/msgid/20190805140119.7337-9-kraxel@redhat.com
This commit is contained in:
@@ -152,7 +152,6 @@ struct ttm_tt;
|
||||
* @ddestroy: List head for the delayed destroy list.
|
||||
* @swap: List head for swap LRU list.
|
||||
* @moving: Fence set when BO is moving
|
||||
* @vma_node: Address space manager node.
|
||||
* @offset: The current GPU offset, which can have different meanings
|
||||
* depending on the memory type. For SYSTEM type memory, it should be 0.
|
||||
* @cur_placement: Hint of current placement.
|
||||
@@ -219,9 +218,6 @@ struct ttm_buffer_object {
|
||||
*/
|
||||
|
||||
struct dma_fence *moving;
|
||||
|
||||
struct drm_vma_offset_node vma_node;
|
||||
|
||||
unsigned priority;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user