All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/etnaviv: select CMA and DMA_CMA if available
@ 2017-07-14 14:38 Lucas Stach
  2017-07-14 18:32 ` Joshua Clayton
  2017-07-16 15:29 ` Russell King - ARM Linux
  0 siblings, 2 replies; 5+ messages in thread
From: Lucas Stach @ 2017-07-14 14:38 UTC (permalink / raw)
  To: dri-devel; +Cc: etnaviv, kernel, Russell King

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>
---
 drivers/gpu/drm/etnaviv/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

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.
 
-- 
2.11.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-17  8:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-14 14:38 [PATCH] drm/etnaviv: select CMA and DMA_CMA if available Lucas Stach
2017-07-14 18:32 ` Joshua Clayton
2017-07-17  8:52   ` Lucas Stach
2017-07-16 15:29 ` Russell King - ARM Linux
2017-07-17  8:49   ` Lucas Stach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.