]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: use dynamic syncpt for hwctx
authorDeepak Nibade <dnibade@nvidia.com>
Tue, 4 Feb 2014 11:16:31 +0000 (16:46 +0530)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Fri, 14 Feb 2014 06:13:25 +0000 (22:13 -0800)
commit03136f549f54a26d77987f3751bf12d202614372
treecf0e59971539dc905d641d5ce614a8d24886344c
parent6c2d1b43e51f2e0424b793c9da1c25adf63ea569
video: tegra: host: use dynamic syncpt for hwctx

- do not request syncpts in hwctx handler init which is common path
  for all clients
- this results in unnecessary booking of syncpts at init time and for
  all clients

- request the syncpt from *_alloc_hwctx() call which is specific
  to each client
- this way we can request syncpt for client who really needs it for its
  hwctx

Bug 1305024

Change-Id: Ib5276da0d9d013487149262223bf5f9cf4e79bbf
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/363888
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/gr3d/gr3d.c
drivers/video/tegra/host/gr3d/gr3d_t114.c
drivers/video/tegra/host/host1x/host1x_channel.c
drivers/video/tegra/host/vic03/vic03.c