1# SPDX-License-Identifier: GPL-2.0
2
3config DRM_PANFROST
4	tristate "Panfrost (DRM support for ARM Mali Midgard/Bifrost GPUs)"
5	depends on DRM
6	depends on ARM || ARM64 || COMPILE_TEST
7	depends on !GENERIC_ATOMIC64    # for IOMMU_IO_PGTABLE_LPAE
8	depends on MMU
9	select DRM_SCHED
10	select IOMMU_SUPPORT
11	select IOMMU_IO_PGTABLE_LPAE
12	select DRM_GEM_SHMEM_HELPER
13	select PM_DEVFREQ
14	select DEVFREQ_GOV_SIMPLE_ONDEMAND
15	select WANT_DEV_COREDUMP
16	help
17	  DRM driver for ARM Mali Midgard (T6xx, T7xx, T8xx) and
18	  Bifrost (G3x, G5x, G7x) GPUs.
19