xref: /openbmc/linux/drivers/gpu/drm/etnaviv/Kconfig (revision 49b82c38)
1a8c21a54SThe etnaviv authors
2a8c21a54SThe etnaviv authorsconfig DRM_ETNAVIV
3a8c21a54SThe etnaviv authors	tristate "ETNAVIV (DRM support for Vivante GPU IP cores)"
4a8c21a54SThe etnaviv authors	depends on DRM
52f38a67aSNoralf Trønnes	depends on ARCH_MXC || ARCH_DOVE || (ARM && COMPILE_TEST)
6f0c379a1SArnd Bergmann	depends on MMU
7a8c21a54SThe etnaviv authors	select SHMEM
89ad59feaSPhilipp Zabel	select SYNC_FILE
9*49b82c38SPhilipp Zabel	select THERMAL if DRM_ETNAVIV_THERMAL
10a8c21a54SThe etnaviv authors	select TMPFS
11a8c21a54SThe etnaviv authors	select WANT_DEV_COREDUMP
1263f56775SLucas Stach	select CMA if HAVE_DMA_CONTIGUOUS
1363f56775SLucas Stach	select DMA_CMA if HAVE_DMA_CONTIGUOUS
14a8c21a54SThe etnaviv authors	help
15a8c21a54SThe etnaviv authors	  DRM driver for Vivante GPUs.
16a8c21a54SThe etnaviv authors
17*49b82c38SPhilipp Zabelconfig DRM_ETNAVIV_THERMAL
18*49b82c38SPhilipp Zabel	bool "enable ETNAVIV thermal throttling"
19*49b82c38SPhilipp Zabel	depends on DRM_ETNAVIV
20*49b82c38SPhilipp Zabel	default y
21*49b82c38SPhilipp Zabel	help
22*49b82c38SPhilipp Zabel	  Compile in support for thermal throttling.
23*49b82c38SPhilipp Zabel	  Say Y unless you want to risk burning your SoC.
24*49b82c38SPhilipp Zabel
25a8c21a54SThe etnaviv authorsconfig DRM_ETNAVIV_REGISTER_LOGGING
26a8c21a54SThe etnaviv authors	bool "enable ETNAVIV register logging"
27a8c21a54SThe etnaviv authors	depends on DRM_ETNAVIV
28a8c21a54SThe etnaviv authors	help
29a8c21a54SThe etnaviv authors	  Compile in support for logging register reads/writes in a format
30a8c21a54SThe etnaviv authors	  that can be parsed by envytools demsm tool.  If enabled, register
31a8c21a54SThe etnaviv authors	  logging can be switched on via etnaviv.reglog=y module param.
32