]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: Rework nvhost sync API
authorArto Merilainen <amerilainen@nvidia.com>
Tue, 18 Mar 2014 11:35:42 +0000 (13:35 +0200)
committerArto Merilainen <amerilainen@nvidia.com>
Tue, 25 Mar 2014 12:39:46 +0000 (05:39 -0700)
commite9cea0cd9be76601dd818689297c6dcdd5cffd0d
tree0cca802fe1e36a205c9e236fe206548a8794e16a
parent379ff392afb81f9a563f56471ff37d57188d52d7
video: tegra: host: Rework nvhost sync API

vhost sync API used both nvhost_sync_pt and sync_pt structures when
requesting information about a syncpoint. This is unnecessary as
in practise we always have only the sync_pt structure when calling
the sync API. This patch modifies the sync API so that we use
sync_pt structure by default.

Change-Id: I1e3f23b06d4ebd8894acca7c29d0ba38d475a92b
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/383110
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/gk20a/channel_sync_gk20a.c
drivers/video/tegra/host/host1x/host1x_channel.c
drivers/video/tegra/host/nvhost_sync.c
drivers/video/tegra/host/nvhost_sync.h