]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
drm/cirrus: remove the default io_mem_pfn set
authorTan Xiaojun <tanxiaojun@huawei.com>
Mon, 25 Dec 2017 03:43:26 +0000 (11:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Dec 2017 16:34:57 +0000 (11:34 -0500)
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>
drivers/gpu/drm/cirrus/cirrus_ttm.c

index 2a5b54d3a03aedb1d7b60a635f3b8cea32939338..5a08224edf41766a981807a27b48bb39c972b21a 100644 (file)
@@ -237,7 +237,6 @@ struct ttm_bo_driver cirrus_bo_driver = {
        .verify_access = cirrus_bo_verify_access,
        .io_mem_reserve = &cirrus_ttm_io_mem_reserve,
        .io_mem_free = &cirrus_ttm_io_mem_free,
-       .io_mem_pfn = ttm_bo_default_io_mem_pfn,
 };
 
 int cirrus_mm_init(struct cirrus_device *cirrus)