]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/bochs: remove the default ttm_tt_populate callbacks
authorChristian König <christian.koenig@amd.com>
Thu, 22 Feb 2018 11:12:41 +0000 (12:12 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Feb 2018 04:09:44 +0000 (23:09 -0500)
TTM calls the default implementation now.

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>
drivers/gpu/drm/bochs/bochs_mm.c

index 704e879711e4f74a7b275a76019c283a1140df42..5525b6660340aa283ade02f4b2c96b47c2a7afee 100644 (file)
@@ -196,8 +196,6 @@ static struct ttm_tt *bochs_ttm_tt_create(struct ttm_bo_device *bdev,
 
 struct ttm_bo_driver bochs_bo_driver = {
        .ttm_tt_create = bochs_ttm_tt_create,
-       .ttm_tt_populate = ttm_pool_populate,
-       .ttm_tt_unpopulate = ttm_pool_unpopulate,
        .init_mem_type = bochs_bo_init_mem_type,
        .eviction_valuable = ttm_bo_eviction_valuable,
        .evict_flags = bochs_bo_evict_flags,