misc: tegra-throughput: adding throughput dev node
authorIlan Aelion <iaelion@nvidia.com>
Thu, 28 Jun 2012 00:58:11 +0000 (18:58 -0600)
committerLokesh Pathak <lpathak@nvidia.com>
Mon, 30 Jul 2012 15:37:00 +0000 (08:37 -0700)
commite402db9b3737209c9981aea5970328d7c1cb06ce
tree245efed1639bfb099649c6d81263ea1a7e752cd9
parent8055acfa05c82997bdcfbce5093b9cd963251d2a
misc: tegra-throughput: adding throughput dev node

Creates a miscdev at /dev/tegra-throughput which gl will use to set a
target frame rate. In addition it receives notifications from dc on
flip events. On each notification the percentage ratio of the actual
frame time to the target frame time is calculated. In subsequent
changes this ratio will be reported to other modules as a throughput
hint.

Bug 991589

Change-Id: Ieaa2b2755b63d2d071de31e3ef819d4c3b51a956
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/116865
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
arch/arm/mach-tegra/include/mach/dc.h
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/tegra-throughput.c [new file with mode: 0644]
drivers/video/tegra/dc/dc_priv.h
drivers/video/tegra/dc/ext/dev.c
drivers/video/tegra/dc/mode.c
include/linux/throughput_ioctl.h [new file with mode: 0644]