video: tegra: avp: Add PM QoS control for CPU
authorMandar Potdar <mpotdar@nvidia.com>
Wed, 27 Nov 2013 12:39:10 +0000 (17:39 +0530)
committerSachin Nikam <snikam@nvidia.com>
Mon, 2 Dec 2013 11:46:23 +0000 (03:46 -0800)
commit57e0592c5f1ec40d7c50512bfd9b11853491d1a6
treec9050b48af94865b8efb375b8a3e28e2c0fd779c
parenteb4e05c4e3b129a066d4d411e28ae6ff80fe66f5
video: tegra: avp: Add PM QoS control for CPU

Control minimum number of online CPUs,
minimum CPU frequency by requesting PM QoS.

CPU frequency is controlled using existing
ioctl nvavp_set_clock_ioctl.
Added new ioctl nvavp_set_min_online_cpus_ioctl
for controlling minimum number of online CPUs.

bug 1396367

Change-Id: I33bd1cd23a508e8015ad882c58be02aed349d719
Signed-off-by: Mandar Potdar <mpotdar@nvidia.com>
Reviewed-on: http://git-master/r/336653
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
drivers/media/platform/tegra/nvavp/nvavp_dev.c
include/linux/tegra_nvavp.h