summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/gr3d/scale3d.c
AgeCommit message (Collapse)Author
2012-07-30video: tegra: host: use fps in 3dfs by defaultIlan Aelion
enable using frame rate information in 3d frequency scaling by default Bug 991589 Change-Id: I410c86e3a56ddf00610133333dd518b4f46aa9ec Reviewed-on: http://git-master/r/116867 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2012-07-30video: tegra: host: adding throughput hint in 3dfsIlan Aelion
adding support for using a throughput hint given by the tegra-gfx misc device in the 3d scaling code. If throughput hint usage is enabled and the latest throughput hint is recent enough (less than 1 second old), the throughput hint is used to control 3d frequency scaling. Otherwise the existing idle time percentage estimate is used. Bug 991589 Change-Id: I68893e5ce7ef922b95ce5f5b3664eb8e1fdd4027 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/116866 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2012-04-05video: tegra: host: Init scale3d worker alwaysTerje Bergstrom
Initialize scale3d worker even though scale3d would be disabled. Bug 954879 Change-Id: Iaf3a12740d1d377d949cdfbf7e11fa00568e72fe Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/93488 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2012-03-30video: tegra: host: do not assume 3d channel opened by user spaceMayuresh Kulkarni
- if user space does not open 3d channel, 3d scaling algorithm is not initialized. so return safely when 3d scaling is disabled - also do not call nvhost_module_suspend() explicitly for host1x client modules. nvhost_channel_suspend() takes care to suspend the module if ref count = 0 - call nvhost_module_suspend() only for host1x device as it does not use actual hardware channel Bug 953451 Change-Id: Iba2b771b71d9b41c8ed978112566181872c56259 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/92506 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Peer Chen <pchen@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Emily Jiang <ejiang@nvidia.com>
2012-03-15video: tegra: host: Replace license informationTerje Bergstrom
Replace license information in nvhost with GPLv2. Also adds copyright year 2012 in files which have been changed in 2012. Change-Id: I86e8ed27095df13d99e0250e57e244d531fdacec Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/89735 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-01-30video: tegra: host: enable_3d_scaling perms 0644Ilan Aelion
Allowing user to write sysfs nodes breaks CTS. 3D scaling should be enabled in all current power modes and does not need to be toggled by user / system code. Hence disabling user write permission. Bug 906796 Reviewed-on: http://git-master/r/77058 Change-Id: I164926b5e65a05d63928c9e7c5970ea930cde37b Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77754 Reviewed-by: Automatic_Commit_Validation_User
2012-01-19video: tegra: host: Fix includesJuha Tukkinen
Remove one duplicate include and relative paths in includes. Replace one include with forward declaration. Make dependencies to t20 and t30 explicit. Change-Id: I195020bedbb46277dbd6a92b65be2cde5f6276b8 Reviewed-on: http://git-master/r/72903 Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/75885 Reviewed-by: Automatic_Commit_Validation_User
2012-01-12video: tegra: host: Move device data to nvhost_deviceTerje Bergstrom
Move all device data from nvhost_channeldesc, nvhost_moduledesc and nvhost_module to nvhost_device. nvhost_devices are also assigned into a hierarchy to prepare for implementation of runtime power management. Change-Id: I1e18daae8fe538086cd1f453d316e0f73e9d7d92 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/72844 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Reviewed-on: http://git-master/r/74560 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
2011-12-30video: tegra: host: Move 3D code into own directoryTerje Bergstrom
Move source files related to gr3d into own directory. Bug 871237 Change-Id: I5118ad792d6ec136d2ec2575eff931e112d5f3b2 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/71782 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>