video: tegra: host: Throttle lower priority jobs
authorTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 28 May 2012 08:56:54 +0000 (11:56 +0300)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 7 Jun 2012 08:51:39 +0000 (13:51 +0530)
commit001907855c0115d77c78b73c0fbae73caf02c092
tree66a4c06e2d292b30f50e69df2ec259a328984977
parentc0f987b8584392ed6e0110d6df37136fff4c8050
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