video: tegra: host: Syncpt value wrapping fixes
authorArto Merilainen <amerilainen@nvidia.com>
Thu, 21 Feb 2013 07:43:18 +0000 (09:43 +0200)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:00:27 +0000 (13:00 -0700)
commite68e123f9d27fcfc3dd7db0861f8dbbf36fb474c
tree5788cd1f19cd2a3b39f752ab60f0c4a3a8116397
parentcccf6046927ca007a00c1133e211e117ec4919d5
video: tegra: host: Syncpt value wrapping fixes

Syncpoint wrapping was not handled in timeout code. This patch
adds necessary fixes to prevent errors in corner cases.

Change-Id: I40538c2b3727f45254a677a9cb9dfd58f2b13fc2
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/202860
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/host1x/host1x_cdma.c
drivers/video/tegra/host/nvhost_cdma.c