xref: /openbmc/linux/drivers/gpu/drm/etnaviv/Kconfig (revision bdeeed09)
1
2config DRM_ETNAVIV
3	tristate "ETNAVIV (DRM support for Vivante GPU IP cores)"
4	depends on DRM
5	depends on ARCH_MXC || ARCH_DOVE || (ARM && COMPILE_TEST)
6	depends on MMU
7	select SHMEM
8	select SYNC_FILE
9	select THERMAL if DRM_ETNAVIV_THERMAL
10	select TMPFS
11	select WANT_DEV_COREDUMP
12	select CMA if HAVE_DMA_CONTIGUOUS
13	select DMA_CMA if HAVE_DMA_CONTIGUOUS
14	select DRM_SCHED
15	help
16	  DRM driver for Vivante GPUs.
17
18config DRM_ETNAVIV_THERMAL
19	bool "enable ETNAVIV thermal throttling"
20	depends on DRM_ETNAVIV
21	default y
22	help
23	  Compile in support for thermal throttling.
24	  Say Y unless you want to risk burning your SoC.
25
26config DRM_ETNAVIV_REGISTER_LOGGING
27	bool "enable ETNAVIV register logging"
28	depends on DRM_ETNAVIV
29	help
30	  Compile in support for logging register reads/writes in a format
31	  that can be parsed by envytools demsm tool.  If enabled, register
32	  logging can be switched on via etnaviv.reglog=y module param.
33