diff options
author | Tan Xiaojun <tanxiaojun@huawei.com> | 2017-12-24 22:43:31 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-27 11:35:29 -0500 |
commit | 56a91d20b64e7a5486b442dbc7604455bb81880b (patch) | |
tree | 7f360b0c6d486a9bc74c32fbcbc734538bc710da | |
parent | f8506d32720b9a0ae9f834bb1d05636afcc18ca8 (diff) |
drm/virtio: remove the default io_mem_pfn set
The default interface situation has been taken into the framework, so
remove the default set of each module.
Signed-off-by: Tan Xiaojun <tanxiaojun@huawei.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_ttm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_ttm.c b/drivers/gpu/drm/virtio/virtgpu_ttm.c index 488c6bd032fc..43483e97adbb 100644 --- a/drivers/gpu/drm/virtio/virtgpu_ttm.c +++ b/drivers/gpu/drm/virtio/virtgpu_ttm.c | |||
@@ -430,7 +430,6 @@ static struct ttm_bo_driver virtio_gpu_bo_driver = { | |||
430 | .verify_access = &virtio_gpu_verify_access, | 430 | .verify_access = &virtio_gpu_verify_access, |
431 | .io_mem_reserve = &virtio_gpu_ttm_io_mem_reserve, | 431 | .io_mem_reserve = &virtio_gpu_ttm_io_mem_reserve, |
432 | .io_mem_free = &virtio_gpu_ttm_io_mem_free, | 432 | .io_mem_free = &virtio_gpu_ttm_io_mem_free, |
433 | .io_mem_pfn = ttm_bo_default_io_mem_pfn, | ||
434 | .move_notify = &virtio_gpu_bo_move_notify, | 433 | .move_notify = &virtio_gpu_bo_move_notify, |
435 | .swap_notify = &virtio_gpu_bo_swap_notify, | 434 | .swap_notify = &virtio_gpu_bo_swap_notify, |
436 | }; | 435 | }; |