# SPDX-License-Identifier: GPL-2.0-only OR MIT
# Copyright (c) 2023 Imagination Technologies Ltd.

config DRM_POWERVR
	tristate "Imagination Technologies PowerVR (Series 6 and later) & IMG Graphics"
	depends on (ARM64 || RISCV && 64BIT)
	depends on DRM
	depends on MMU
	depends on PM
	depends on POWER_SEQUENCING || !POWER_SEQUENCING
	select DRM_EXEC
	select DRM_GEM_SHMEM_HELPER
	select DRM_SCHED
	select DRM_GPUVM
	select FW_LOADER
	help
	  Choose this option if you have a system that has an Imagination
	  Technologies PowerVR (Series 6 or later) or IMG GPU.

	  If "M" is selected, the module will be called powervr.

config DRM_POWERVR_KUNIT_TEST
	tristate "KUnit tests for the drm powervr driver" if !KUNIT_ALL_TESTS
	depends on DRM_POWERVR && KUNIT
	default KUNIT_ALL_TESTS
	help
	  Choose this option to allow the driver to perform selftests under
	  the kunit framework

	  Recommended for driver developers only.

	  If in doubt, say "N".
