summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/virtio
diff options
context:
space:
mode:
authorTan Xiaojun <tanxiaojun@huawei.com>2017-12-25 06:43:31 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-12-27 19:35:29 +0300
commit56a91d20b64e7a5486b442dbc7604455bb81880b (patch)
tree7f360b0c6d486a9bc74c32fbcbc734538bc710da /drivers/gpu/drm/virtio
parentf8506d32720b9a0ae9f834bb1d05636afcc18ca8 (diff)
downloadlinux-56a91d20b64e7a5486b442dbc7604455bb81880b.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/virtio')
-rw-r--r--drivers/gpu/drm/virtio/virtgpu_ttm.c1
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 = {
.verify_access = &virtio_gpu_verify_access,
.io_mem_reserve = &virtio_gpu_ttm_io_mem_reserve,
.io_mem_free = &virtio_gpu_ttm_io_mem_free,
- .io_mem_pfn = ttm_bo_default_io_mem_pfn,
.move_notify = &virtio_gpu_bo_move_notify,
.swap_notify = &virtio_gpu_bo_swap_notify,
};