drm/ttm: fix populate_and_map() functions once more
authorChristian König <christian.koenig@amd.com>
Mon, 27 Nov 2017 12:12:35 +0000 (13:12 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Nov 2017 19:42:35 +0000 (14:42 -0500)
commit1569d651f152870663fabd8f1c80af353f967ad5
tree6a24653d4237ccfbbcc84027b64673a3059611ad
parent97011249c3b2ba6b038a2af7025063d62d1448ec
drm/ttm: fix populate_and_map() functions once more

This reverts "drm/ttm: Fix configuration error around populate_and_map()
functions".

This fix has gone into the wrong direction. Those helpers should be
available even when neither CONFIG_INTEL_IOMMU nor CONFIG_SWIOTLB are
set.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_page_alloc.c
include/drm/ttm/ttm_page_alloc.h