drm/ttm: add default implementations for ttm_tt_(un)populate
authorChristian König <christian.koenig@amd.com>
Thu, 22 Feb 2018 11:00:05 +0000 (12:00 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Feb 2018 04:09:41 +0000 (23:09 -0500)
commite44fcf71f4092121f24b0d1b0c613a4e9c1e84e6
tree5a2f8e8122c0ba7d4388816894ec40889b540c50
parentcd277585d69394507137b513b51f40d2590abda4
drm/ttm: add default implementations for ttm_tt_(un)populate

Use ttm_pool_populate/ttm_pool_unpopulate if the driver doesn't provide
a function.

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/ttm/ttm_tt.c