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/arm/boot/dts/qcom/apq8084-gpu.dtsi +5 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,11 @@ */ &soc { msm_bus: qcom,kgsl-busmon{ label = "kgsl-busmon"; compatible = "qcom,kgsl-busmon"; }; msm_gpu: qcom,kgsl-3d0@fdb00000 { label = "kgsl-3d0"; compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; Loading arch/arm/boot/dts/qcom/msm8994-gpu.dtsi +5 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,11 @@ */ &soc { msm_bus: qcom,kgsl-busmon{ label = "kgsl-busmon"; compatible = "qcom,kgsl-busmon"; }; msm_gpu: qcom,kgsl-3d0@fdb00000 { label = "kgsl-3d0"; compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; Loading drivers/devfreq/Kconfig +9 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,15 @@ config ARMBW_HWMON capability to raise an IRQ when the counter overflows, which can be used to get an IRQ when the count exceeds a certain value config DEVFREQ_GOV_MSM_GPUBW_MON tristate "GPU BW voting governor" depends on DEVFREQ_GOV_MSM_ADRENO_TZ help MSM GPU governor for GPU bus bandwidth voting. This governor works together with MSM Adreno Trustzone governor, and select bus frequency votes using an "on-demand" alorithm.. This governor is unlikely to be useful for non-MSM devices. config DEVFREQ_GOV_MSM_BW_HWMON tristate "HW monitor based governor for device BW" depends on ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON Loading drivers/devfreq/Makefile +2 −0 Original line number Diff line number Diff line obj-$(CONFIG_PM_DEVFREQ) += devfreq.o obj-$(CONFIG_PM_DEVFREQ) += devfreq_trace.o obj-$(CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND) += governor_simpleondemand.o obj-$(CONFIG_DEVFREQ_GOV_PERFORMANCE) += governor_performance.o obj-$(CONFIG_DEVFREQ_GOV_POWERSAVE) += governor_powersave.o Loading @@ -11,6 +12,7 @@ obj-$(CONFIG_MSM_BIMC_BWMON) += bimc-bwmon.o obj-$(CONFIG_ARMBW_HWMON) += armbw-pm.o obj-$(CONFIG_DEVFREQ_GOV_MSM_BW_HWMON) += governor_bw_hwmon.o obj-$(CONFIG_DEVFREQ_GOV_MSM_CACHE_HWMON) += governor_cache_hwmon.o obj-$(CONFIG_DEVFREQ_GOV_MSM_GPUBW_MON) += governor_gpubw_mon.o # DEVFREQ Drivers obj-$(CONFIG_ARM_EXYNOS4_BUS_DEVFREQ) += exynos4_bus.o Loading 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/arm/boot/dts/qcom/apq8084-gpu.dtsi +5 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,11 @@ */ &soc { msm_bus: qcom,kgsl-busmon{ label = "kgsl-busmon"; compatible = "qcom,kgsl-busmon"; }; msm_gpu: qcom,kgsl-3d0@fdb00000 { label = "kgsl-3d0"; compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; Loading
arch/arm/boot/dts/qcom/msm8994-gpu.dtsi +5 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,11 @@ */ &soc { msm_bus: qcom,kgsl-busmon{ label = "kgsl-busmon"; compatible = "qcom,kgsl-busmon"; }; msm_gpu: qcom,kgsl-3d0@fdb00000 { label = "kgsl-3d0"; compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; Loading
drivers/devfreq/Kconfig +9 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,15 @@ config ARMBW_HWMON capability to raise an IRQ when the counter overflows, which can be used to get an IRQ when the count exceeds a certain value config DEVFREQ_GOV_MSM_GPUBW_MON tristate "GPU BW voting governor" depends on DEVFREQ_GOV_MSM_ADRENO_TZ help MSM GPU governor for GPU bus bandwidth voting. This governor works together with MSM Adreno Trustzone governor, and select bus frequency votes using an "on-demand" alorithm.. This governor is unlikely to be useful for non-MSM devices. config DEVFREQ_GOV_MSM_BW_HWMON tristate "HW monitor based governor for device BW" depends on ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON Loading
drivers/devfreq/Makefile +2 −0 Original line number Diff line number Diff line obj-$(CONFIG_PM_DEVFREQ) += devfreq.o obj-$(CONFIG_PM_DEVFREQ) += devfreq_trace.o obj-$(CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND) += governor_simpleondemand.o obj-$(CONFIG_DEVFREQ_GOV_PERFORMANCE) += governor_performance.o obj-$(CONFIG_DEVFREQ_GOV_POWERSAVE) += governor_powersave.o Loading @@ -11,6 +12,7 @@ obj-$(CONFIG_MSM_BIMC_BWMON) += bimc-bwmon.o obj-$(CONFIG_ARMBW_HWMON) += armbw-pm.o obj-$(CONFIG_DEVFREQ_GOV_MSM_BW_HWMON) += governor_bw_hwmon.o obj-$(CONFIG_DEVFREQ_GOV_MSM_CACHE_HWMON) += governor_cache_hwmon.o obj-$(CONFIG_DEVFREQ_GOV_MSM_GPUBW_MON) += governor_gpubw_mon.o # DEVFREQ Drivers obj-$(CONFIG_ARM_EXYNOS4_BUS_DEVFREQ) += exynos4_bus.o Loading