aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTan Xiaojun <tanxiaojun@huawei.com>2017-12-25 11:43:31 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-12-27 11:35:29 -0500
commit56a91d20b64e7a5486b442dbc7604455bb81880b (patch)
tree7f360b0c6d486a9bc74c32fbcbc734538bc710da
parentdrm/radeon: remove the default io_mem_pfn set (diff)
downloadlinux-dev-56a91d20b64e7a5486b442dbc7604455bb81880b.tar.xz
linux-dev-56a91d20b64e7a5486b442dbc7604455bb81880b.zip
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.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,
};