video: tegra: host: Throttle lower priority jobs
authorTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 28 May 2012 08:56:54 +0000 (11:56 +0300)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 30 May 2012 05:39:53 +0000 (22:39 -0700)
commitbc056c017381a85acf2d41a1e537f45e04ea297a
treee5db40625c4413c1747744ea62886f2bda414aa2
parentb6f12a3449234f9960998954382e1a9afea7764d
video: tegra: host: Throttle lower priority jobs

Implement per channel counter for jobs in each priority level. If
there are jobs active with higher priority than the one being
submitted, throttle.

Bug 926690

Change-Id: I5fed341e3f248325873b31d1c53bf57bf0a78074
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104939
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/nvhost_cdma.c
drivers/video/tegra/host/nvhost_cdma.h
drivers/video/tegra/host/nvhost_channel.c
drivers/video/tegra/host/nvhost_intr.c
include/trace/events/nvhost.h