drm/ttm: drop persistent_swap_storage from ttm_bo_init and co
Never used as parameter, the only driver actually using this is nouveau and there it is initialized after the BO is initialized. 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:
@@ -89,7 +89,7 @@ int virtio_gpu_object_create(struct virtio_gpu_device *vgdev,
|
||||
virtio_gpu_init_ttm_placement(bo, pinned);
|
||||
|
||||
ret = ttm_bo_init(&vgdev->mman.bdev, &bo->tbo, size, type,
|
||||
&bo->placement, 0, !kernel, NULL, acc_size,
|
||||
&bo->placement, 0, !kernel, acc_size,
|
||||
NULL, NULL, &virtio_gpu_ttm_bo_destroy);
|
||||
/* ttm_bo_init failure will call the destroy */
|
||||
if (ret != 0)
|
||||
|
Reference in New Issue
Block a user