summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/etnaviv/Kconfig
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-07-14 15:54:06 +0200
committerLucas Stach <l.stach@pengutronix.de>2017-08-08 15:47:24 +0200
commit63f5677544b3672979222fecef32c21e5131072b (patch)
treead23b6d2d95842d563cd385d32557d887d180d08 /drivers/gpu/drm/etnaviv/Kconfig
parent8cc47b3ea0822175deb8bf436e4c59a7f128ac30 (diff)
downloadlinux-63f5677544b3672979222fecef32c21e5131072b.tar.gz
linux-63f5677544b3672979222fecef32c21e5131072b.tar.bz2
linux-63f5677544b3672979222fecef32c21e5131072b.zip
drm/etnaviv: select CMA and DMA_CMA if available
While this is no build dependency, etnaviv will only work correctly on most systems if CMA and DMA_CMA are enabled. Select both options if available to avoid users ending up with a non-working GPU due to a lacking kernel config. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/Kconfig')
-rw-r--r--drivers/gpu/drm/etnaviv/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/etnaviv/Kconfig b/drivers/gpu/drm/etnaviv/Kconfig
index 71cee4e9fefb..38b477b5fbf9 100644
--- a/drivers/gpu/drm/etnaviv/Kconfig
+++ b/drivers/gpu/drm/etnaviv/Kconfig
@@ -10,6 +10,8 @@ config DRM_ETNAVIV
select IOMMU_API
select IOMMU_SUPPORT
select WANT_DEV_COREDUMP
+ select CMA if HAVE_DMA_CONTIGUOUS
+ select DMA_CMA if HAVE_DMA_CONTIGUOUS
help
DRM driver for Vivante GPUs.