xref: /openbmc/linux/drivers/gpu/drm/etnaviv/Kconfig (revision 82e6fdd6)
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	help
15	  DRM driver for Vivante GPUs.
16
17config DRM_ETNAVIV_THERMAL
18	bool "enable ETNAVIV thermal throttling"
19	depends on DRM_ETNAVIV
20	default y
21	help
22	  Compile in support for thermal throttling.
23	  Say Y unless you want to risk burning your SoC.
24
25config DRM_ETNAVIV_REGISTER_LOGGING
26	bool "enable ETNAVIV register logging"
27	depends on DRM_ETNAVIV
28	help
29	  Compile in support for logging register reads/writes in a format
30	  that can be parsed by envytools demsm tool.  If enabled, register
31	  logging can be switched on via etnaviv.reglog=y module param.
32