summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/etnaviv/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/etnaviv/Kconfig')
-rw-r--r--drivers/gpu/drm/etnaviv/Kconfig18
1 files changed, 10 insertions, 8 deletions
diff --git a/drivers/gpu/drm/etnaviv/Kconfig b/drivers/gpu/drm/etnaviv/Kconfig
index 71cee4e9fefb..faa7fc68b009 100644
--- a/drivers/gpu/drm/etnaviv/Kconfig
+++ b/drivers/gpu/drm/etnaviv/Kconfig
@@ -1,22 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0-only
config DRM_ETNAVIV
tristate "ETNAVIV (DRM support for Vivante GPU IP cores)"
depends on DRM
- depends on ARCH_MXC || ARCH_DOVE || (ARM && COMPILE_TEST)
depends on MMU
select SHMEM
select SYNC_FILE
+ select THERMAL if DRM_ETNAVIV_THERMAL
select TMPFS
- select IOMMU_API
- select IOMMU_SUPPORT
select WANT_DEV_COREDUMP
+ select CMA if HAVE_DMA_CONTIGUOUS
+ select DMA_CMA if HAVE_DMA_CONTIGUOUS
+ select DRM_SCHED
help
DRM driver for Vivante GPUs.
-config DRM_ETNAVIV_REGISTER_LOGGING
- bool "enable ETNAVIV register logging"
+config DRM_ETNAVIV_THERMAL
+ bool "enable ETNAVIV thermal throttling"
depends on DRM_ETNAVIV
+ default y
help
- Compile in support for logging register reads/writes in a format
- that can be parsed by envytools demsm tool. If enabled, register
- logging can be switched on via etnaviv.reglog=y module param.
+ Compile in support for thermal throttling.
+ Say Y unless you want to risk burning your SoC.