]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f3f24f19144d82db0090dc5610a5255f3ed8c2f
tree6a24653d4237ccfbbcc84027b64673a3059611ad
parent0059bacaf75ebe582912ae6a3520c0970f1ccea0
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