diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig new file mode 100644 index 00000000..68cd006c --- /dev/null +++ b/drivers/devfreq/Kconfig @@ -0,0 +1,33 @@ +if PM_DEVFREQ + +comment "NVIDIA DEVFREQ Governors" + +config DEVFREQ_GOV_POD_SCALING + tristate "Power On Demand Scaling" + help + Sets the frequency based on two properties: + (1) The governor receives activity throughput hints that + indicate whether scaling up or down is required + (2) the load of the devices is estimated using busy times + from device profile to determine if the frequency should + be altered. + +config DEVFREQ_GOV_WMARK_SIMPLE + tristate "Simple Watermark" + help + Sets the frequency based on monitor watermark events. + This governor returns the next frequency from frequency table + based on type watermark event. + +config DEVFREQ_GOV_WMARK_ACTIVE + tristate "Active Watermark" + help + Sets the frequency based on monitor watermark events. + This governor calculates relation between current load and + target load. The next frequency is calculated by multiplying + this relation with the current frequency. + + The watermark values are updated so that the watermarks are + triggered when the above algorithm would change the frequency. + +endif # PM_DEVFREQ diff --git a/drivers/devfreq/Makefile b/drivers/devfreq/Makefile new file mode 100644 index 00000000..2e2d2063 --- /dev/null +++ b/drivers/devfreq/Makefile @@ -0,0 +1,3 @@ +obj-$(CONFIG_DEVFREQ_GOV_POD_SCALING) += governor_pod_scaling.o +obj-$(CONFIG_DEVFREQ_GOV_WMARK_SIMPLE) += governor_wmark_simple.o +obj-$(CONFIG_DEVFREQ_GOV_WMARK_ACTIVE) += governor_wmark_active.o