18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciconfig DRM_ETNAVIV
48c2ecf20Sopenharmony_ci	tristate "ETNAVIV (DRM support for Vivante GPU IP cores)"
58c2ecf20Sopenharmony_ci	depends on DRM
68c2ecf20Sopenharmony_ci	depends on MMU
78c2ecf20Sopenharmony_ci	select SHMEM
88c2ecf20Sopenharmony_ci	select SYNC_FILE
98c2ecf20Sopenharmony_ci	select THERMAL if DRM_ETNAVIV_THERMAL
108c2ecf20Sopenharmony_ci	select TMPFS
118c2ecf20Sopenharmony_ci	select WANT_DEV_COREDUMP
128c2ecf20Sopenharmony_ci	select CMA if HAVE_DMA_CONTIGUOUS
138c2ecf20Sopenharmony_ci	select DMA_CMA if HAVE_DMA_CONTIGUOUS
148c2ecf20Sopenharmony_ci	select DRM_SCHED
158c2ecf20Sopenharmony_ci	help
168c2ecf20Sopenharmony_ci	  DRM driver for Vivante GPUs.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciconfig DRM_ETNAVIV_THERMAL
198c2ecf20Sopenharmony_ci	bool "enable ETNAVIV thermal throttling"
208c2ecf20Sopenharmony_ci	depends on DRM_ETNAVIV
218c2ecf20Sopenharmony_ci	default y
228c2ecf20Sopenharmony_ci	help
238c2ecf20Sopenharmony_ci	  Compile in support for thermal throttling.
248c2ecf20Sopenharmony_ci	  Say Y unless you want to risk burning your SoC.
25