| # SPDX-License-Identifier: GPL-2.0-only |
| config QCOM_KGSL |
| tristate "Qualcomm Technologies, Inc. 3D Graphics driver" |
| depends on ARCH_QCOM |
| depends on QCOM_QFPROM |
| select GENERIC_ALLOCATOR |
| select FW_LOADER |
| select PM_DEVFREQ |
| select QCOM_SCM |
| select DEVFREQ_GOV_SIMPLE_ONDEMAND |
| select DEVFREQ_GOV_PERFORMANCE |
| select DEVFREQ_GOV_QCOM_ADRENO_TZ |
| select DEVFREQ_GOV_QCOM_GPUBW_MON |
| help |
| 3D graphics driver for the Adreno family of GPUs from QTI. |
| Required to use hardware accelerated OpenGL, compute and Vulkan |
| on QTI targets. This includes power management, memory management, |
| and scheduling for the Adreno GPUs. |
| |
| config QCOM_ADRENO_DEFAULT_GOVERNOR |
| string "devfreq governor for the adreno core" |
| default "msm-adreno-tz" if DEVFREQ_GOV_QCOM_ADRENO_TZ |
| default "simple_ondemand" |
| depends on QCOM_KGSL |
| |
| config QCOM_KGSL_IOMMU |
| bool |
| default y if QCOM_KGSL && (MSM_IOMMU || ARM_SMMU) |
| |
| config QCOM_KGSL_USE_SHMEM |
| bool "Enable using shmem for memory allocations" |
| depends on QCOM_KGSL |
| help |
| Say 'Y' to enable using shmem for memory allocations. If enabled, |
| there will be no support for the memory pools and higher order pages. |
| But using shmem will help in making kgsl pages available for |
| reclaiming. |