xref: /openbmc/linux/drivers/gpu/drm/etnaviv/Kconfig (revision e93b6dee)
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
949b82c38SPhilipp 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
14e93b6deeSLucas Stach	select DRM_SCHED
15a8c21a54SThe etnaviv authors	help
16a8c21a54SThe etnaviv authors	  DRM driver for Vivante GPUs.
17a8c21a54SThe etnaviv authors
1849b82c38SPhilipp Zabelconfig DRM_ETNAVIV_THERMAL
1949b82c38SPhilipp Zabel	bool "enable ETNAVIV thermal throttling"
2049b82c38SPhilipp Zabel	depends on DRM_ETNAVIV
2149b82c38SPhilipp Zabel	default y
2249b82c38SPhilipp Zabel	help
2349b82c38SPhilipp Zabel	  Compile in support for thermal throttling.
2449b82c38SPhilipp Zabel	  Say Y unless you want to risk burning your SoC.
2549b82c38SPhilipp Zabel
26a8c21a54SThe etnaviv authorsconfig DRM_ETNAVIV_REGISTER_LOGGING
27a8c21a54SThe etnaviv authors	bool "enable ETNAVIV register logging"
28a8c21a54SThe etnaviv authors	depends on DRM_ETNAVIV
29a8c21a54SThe etnaviv authors	help
30a8c21a54SThe etnaviv authors	  Compile in support for logging register reads/writes in a format
31a8c21a54SThe etnaviv authors	  that can be parsed by envytools demsm tool.  If enabled, register
32a8c21a54SThe etnaviv authors	  logging can be switched on via etnaviv.reglog=y module param.
33