drm/ttm: remove cur_placement
Not used any more. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
1144b63a16
commit
01f83e0663
@@ -355,11 +355,10 @@ moved:
|
||||
bo->evicted = false;
|
||||
}
|
||||
|
||||
if (bo->mem.mm_node) {
|
||||
if (bo->mem.mm_node)
|
||||
bo->offset = (bo->mem.start << PAGE_SHIFT) +
|
||||
bdev->man[bo->mem.mem_type].gpu_offset;
|
||||
bo->cur_placement = bo->mem.placement;
|
||||
} else
|
||||
else
|
||||
bo->offset = 0;
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user