drm/ttm: Fix configuration error around populate_and_map() functions
authorTom St Denis <tom.stdenis@amd.com>
Tue, 5 Sep 2017 11:30:59 +0000 (07:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Sep 2017 18:22:55 +0000 (14:22 -0400)
commit7a9667ae197460e6c9c3bb432fe68c708fce6259
treeed063504cd46d518cf847f1f0b67eff527534007
parenta2138eaf97b4e053b229fe07e1bb4ecbe07e6769
drm/ttm: Fix configuration error around populate_and_map() functions

Fixed kbuild errors when IOMMU/SWIOTLB are disabled.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_page_alloc.c