video: tegra: host: Add submit checks
authorArto Merilainen <amerilainen@nvidia.com>
Wed, 7 Jan 2015 12:29:05 +0000 (14:29 +0200)
committerArto Merilainen <amerilainen@nvidia.com>
Mon, 26 Jan 2015 10:11:35 +0000 (02:11 -0800)
commit0abcbd69c4cbd0093e223b6c248fdd53c2886951
tree4d4db895fe74a0b65a8c480076331cfc860e373f
parent3f8b60914b9c7a5c5523dc12f0567a4365c5664e
video: tegra: host: Add submit checks

Currently nvhost performs minimal checking for submits it passes
to hardware: The kernel does not check if job syncpoints are allocated
and the gather classes are not verified currently.

This patch adds checks for syncpoint ids and gather classes.

Bug 1525996

Change-Id: I79b9e676a3c131cea301be8e15f5bbdfc53483ae
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/670253
GVS: Gerrit_Virtual_Submit
drivers/video/tegra/host/bus_client.c