Commit graph

4 commits

Author SHA1 Message Date
Lynus Vaz
0b74e5a2ad msm: IDLE_TIMER wakes up waiting processes
The msm_idle_stats_update_event() function is now a public function.
In case of IDLE_TIMER expiry, kgsl calls this function to immediately
wake up waiting processes.

Change-Id: Ia259d10e08deea71db047d8091cc97066fba3c1c
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
(cherry picked from commit bdb0c07e65cad13deea5d187ad553cc9782c620d)

Conflicts:

	arch/arm/mach-msm/idle_stats_device.c
	drivers/gpu/msm/kgsl_pwrscale_idlestats.c
2013-02-25 11:40:28 -08:00
Lynus Vaz
1d31fa5836 msm: idle_stats: Permit GPU DCVS daemon to configure number of samples
Add a struct member to allow GPU DCVS daemon to configure the number
of samples collected at runtime. This increases the responsiveness
of the daemon in low fps use cases.

Change-Id: Ibbf17c8a81c9bd819d96c16af2f17bc60c999df9
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
(cherry picked from commit fdecd1e91f9b211011a6610199219523e5794c68)

Conflicts:

	arch/arm/mach-msm/idle_stats_device.c
2013-02-25 11:40:27 -08:00
Lucille Sylvester
54246230c5 msm: kgsl: Add idlestats sleep event notification
Change-Id: Ie632d3f44661575ad8c7b41f064eff5f3b068f62
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
(cherry picked from commit 3b46d001e2e4f4aecd2de96e0950dbebdf4f96a3)

Conflicts:

	drivers/gpu/msm/kgsl_pwrscale_idlestats.c
2013-02-25 11:40:27 -08:00
Lucille Sylvester
a867463275 msm: Add idle_stats_device infrastructure
Add a core infrastructure for transmitting idle stats to user
space for use by other devices in the system such as the GPU.

Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
(cherry picked from commit 611d0d9e5b51f9e9906c956b619a91a35964210d)

Conflicts:

	arch/arm/mach-msm/Makefile

Change-Id: Ifed8a2636be0d381f616568ad85764d5e64a1757
2013-02-25 11:40:26 -08:00