OSDN Git Service

devfreq_boost: Introduce devfreq boost driver
authorSultan Alsawaf <sultan@kerneltoast.com>
Fri, 19 Apr 2019 05:07:57 +0000 (22:07 -0700)
committer0ranko0P <ranko0p@outlook.com>
Tue, 24 Dec 2019 20:42:49 +0000 (04:42 +0800)
commit5cbf73fc8ebd4301ee9d698a06d6cd13180fc4c7
tree49b2d3631822d4b3366ddbb53c11eceff973b2b3
parent078fad2ad6d1cb9e94b8e7fdc973078b44c77546
devfreq_boost: Introduce devfreq boost driver

This driver boosts enumerated devfreq devices upon input, and allows for
boosting specific devfreq devices on other custom events. The boost
frequencies for this driver should be set so that frame drops are
near-zero at the boosted frequencies and power consumption is minimized
at said frequencies. The goal of this driver is to provide an interface
to achieve optimal device performance by requesting boosts on key
events, such as when a frame is ready to rendered to the display.

Currently, support is only present for boosting the cpubw devfreq
device, but the driver is structured in a way that makes it easy to add
support for new boostable devfreq devices in the future.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
drivers/devfreq/Kconfig
drivers/devfreq/Makefile
drivers/devfreq/devfreq.c
drivers/devfreq/devfreq_boost.c [new file with mode: 0644]
drivers/devfreq/devfreq_devbw.c
drivers/devfreq/governor.h
include/linux/devfreq.h
include/linux/devfreq_boost.h [new file with mode: 0644]