]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: multi channels per device
authorShridhar Rasal <srasal@nvidia.com>
Wed, 26 Mar 2014 12:39:22 +0000 (18:09 +0530)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Fri, 11 Apr 2014 05:57:55 +0000 (22:57 -0700)
commite85d80a22683d9d8c41dadcd00ebde8f6d9caf17
tree9caadec27412fe82b96befc512f513703d3ec19e
parent6552f9a86f808c786c630b5b134e55a1133b3bf0
video: tegra: host: multi channels per device

- Add support to have multiple channels per device.

- set max number of channels that can be assigned to
  device in platform data.
- On channel open request assign new channel to device
  till max number of channel count.
- suspend all assigned channels on device disable clk.
- un-map all channels on device release callback.

Bug 1259844
Bug 1436477

Change-Id: Ibc1de8b036cde238b292e1ffa660dc2a796f65e8
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/387096
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/debug.c
drivers/video/tegra/host/nvhost_acm.c
drivers/video/tegra/host/nvhost_channel.c
drivers/video/tegra/host/nvhost_channel.h
drivers/video/tegra/host/t124/t124.c
drivers/video/tegra/host/vic03/vic03.c
include/linux/nvhost.h