Loading Documentation/devicetree/bindings/gpu/adreno-busmon.txt 0 → 100644 +16 −0 Original line number Diff line number Diff line Adreno bus monitor device kgsl-busmon is a psedo device that represents a devfreq bus bandwidth governor. If this device is present then two different governors are used for GPU DCVS and bus DCVS. Required properties: - compatible: Must be "qcom,kgsl-busmon" - label: Device name used for sysfs entry. Example: qcom,kgsl-busmon { compatible = "qcom,kgsl-busmon"; label = "kgsl-busmon"; }; arch/arm64/configs/sdm855_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -449,6 +449,7 @@ CONFIG_QCOM_DEVFREQ_DEVBW=y CONFIG_IIO=y CONFIG_QCOM_SPMI_ADC5=y CONFIG_PWM=y CONFIG_QCOM_KGSL=y CONFIG_ARM_GIC_V3_ACL=y CONFIG_PHY_XGENE=y CONFIG_QCOM_LLCC_PMU=y Loading drivers/Kconfig +2 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,8 @@ source "drivers/vme/Kconfig" source "drivers/pwm/Kconfig" source "drivers/gpu/msm/Kconfig" source "drivers/irqchip/Kconfig" source "drivers/ipack/Kconfig" Loading drivers/gpu/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -4,3 +4,4 @@ obj-$(CONFIG_TEGRA_HOST1X) += host1x/ obj-y += drm/ vga/ obj-$(CONFIG_IMX_IPUV3_CORE) += ipu-v3/ obj-$(CONFIG_QCOM_KGSL) += msm/ drivers/gpu/msm/Kconfig 0 → 100644 +26 −0 Original line number Diff line number Diff line config QCOM_KGSL tristate "Qualcomm Technologies, Inc. 3D Graphics driver" default n depends on ARCH_QCOM select GENERIC_ALLOCATOR select FW_LOADER select PM_DEVFREQ 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) Loading
Documentation/devicetree/bindings/gpu/adreno-busmon.txt 0 → 100644 +16 −0 Original line number Diff line number Diff line Adreno bus monitor device kgsl-busmon is a psedo device that represents a devfreq bus bandwidth governor. If this device is present then two different governors are used for GPU DCVS and bus DCVS. Required properties: - compatible: Must be "qcom,kgsl-busmon" - label: Device name used for sysfs entry. Example: qcom,kgsl-busmon { compatible = "qcom,kgsl-busmon"; label = "kgsl-busmon"; };
arch/arm64/configs/sdm855_defconfig +1 −0 Original line number Diff line number Diff line Loading @@ -449,6 +449,7 @@ CONFIG_QCOM_DEVFREQ_DEVBW=y CONFIG_IIO=y CONFIG_QCOM_SPMI_ADC5=y CONFIG_PWM=y CONFIG_QCOM_KGSL=y CONFIG_ARM_GIC_V3_ACL=y CONFIG_PHY_XGENE=y CONFIG_QCOM_LLCC_PMU=y Loading
drivers/Kconfig +2 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,8 @@ source "drivers/vme/Kconfig" source "drivers/pwm/Kconfig" source "drivers/gpu/msm/Kconfig" source "drivers/irqchip/Kconfig" source "drivers/ipack/Kconfig" Loading
drivers/gpu/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -4,3 +4,4 @@ obj-$(CONFIG_TEGRA_HOST1X) += host1x/ obj-y += drm/ vga/ obj-$(CONFIG_IMX_IPUV3_CORE) += ipu-v3/ obj-$(CONFIG_QCOM_KGSL) += msm/
drivers/gpu/msm/Kconfig 0 → 100644 +26 −0 Original line number Diff line number Diff line config QCOM_KGSL tristate "Qualcomm Technologies, Inc. 3D Graphics driver" default n depends on ARCH_QCOM select GENERIC_ALLOCATOR select FW_LOADER select PM_DEVFREQ 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)