misc: tegra-throughput: adding throughput dev node
authorIlan Aelion <iaelion@nvidia.com>
Thu, 28 Jun 2012 00:58:11 +0000 (18:58 -0600)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 6 Aug 2012 06:17:01 +0000 (11:17 +0530)
commit755c78a292f62891891493b2d5d9f01def9d0da4
treea3c9286c77c1128ef8ab97c9ab3894e51d655b12
parentc5d2786d7f806b8ff86e25b53b08240432a51caf
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]