162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciconfig DRM_ETNAVIV
462306a36Sopenharmony_ci	tristate "ETNAVIV (DRM support for Vivante GPU IP cores)"
562306a36Sopenharmony_ci	depends on DRM
662306a36Sopenharmony_ci	depends on MMU
762306a36Sopenharmony_ci	select SHMEM
862306a36Sopenharmony_ci	select SYNC_FILE
962306a36Sopenharmony_ci	select THERMAL if DRM_ETNAVIV_THERMAL
1062306a36Sopenharmony_ci	select TMPFS
1162306a36Sopenharmony_ci	select WANT_DEV_COREDUMP
1262306a36Sopenharmony_ci	select CMA if HAVE_DMA_CONTIGUOUS
1362306a36Sopenharmony_ci	select DMA_CMA if HAVE_DMA_CONTIGUOUS
1462306a36Sopenharmony_ci	select DRM_SCHED
1562306a36Sopenharmony_ci	help
1662306a36Sopenharmony_ci	  DRM driver for Vivante GPUs.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciconfig DRM_ETNAVIV_THERMAL
1962306a36Sopenharmony_ci	bool "enable ETNAVIV thermal throttling"
2062306a36Sopenharmony_ci	depends on DRM_ETNAVIV
2162306a36Sopenharmony_ci	default y
2262306a36Sopenharmony_ci	help
2362306a36Sopenharmony_ci	  Compile in support for thermal throttling.
2462306a36Sopenharmony_ci	  Say Y unless you want to risk burning your SoC.
25