| 1 | # SPDX-License-Identifier: GPL-2.0-only OR MIT |
| 2 | # Copyright (c) 2023 Imagination Technologies Ltd. |
| 3 | |
| 4 | config DRM_POWERVR |
| 5 | tristate "Imagination Technologies PowerVR (Series 6 and later) & IMG Graphics" |
| 6 | depends on (ARM64 || RISCV && 64BIT) |
| 7 | depends on DRM |
| 8 | depends on MMU |
| 9 | depends on PM |
| 10 | depends on POWER_SEQUENCING || !POWER_SEQUENCING |
| 11 | select DRM_EXEC |
| 12 | select DRM_GEM_SHMEM_HELPER |
| 13 | select DRM_SCHED |
| 14 | select DRM_GPUVM |
| 15 | select FW_LOADER |
| 16 | help |
| 17 | Choose this option if you have a system that has an Imagination |
| 18 | Technologies PowerVR (Series 6 or later) or IMG GPU. |
| 19 | |
| 20 | If "M" is selected, the module will be called powervr. |
| 21 | |
| 22 | config DRM_POWERVR_KUNIT_TEST |
| 23 | tristate "KUnit tests for the drm powervr driver" if !KUNIT_ALL_TESTS |
| 24 | depends on DRM_POWERVR && KUNIT |
| 25 | default KUNIT_ALL_TESTS |
| 26 | help |
| 27 | Choose this option to allow the driver to perform selftests under |
| 28 | the kunit framework |
| 29 | |
| 30 | Recommended for driver developers only. |
| 31 | |
| 32 | If in doubt, say "N". |