gpu: host1x: Initialize firewall class to the job's one
authorDmitry Osipenko <digetx@gmail.com>
Wed, 14 Jun 2017 23:18:32 +0000 (02:18 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Jun 2017 12:21:23 +0000 (14:21 +0200)
commit3833d16f1677e19098eb8cc0f0a54f6e209406f4
treef50d317622a67b44de89b97829ad864b9f59a48d
parent80d3eef16e16912df967a083da237d56dc4493b8
gpu: host1x: Initialize firewall class to the job's one

The commands stream is prepended by the jobs class on the CDMA
submission, so that explicitly setting a module class in the commands
stream isn't necessary. The firewall initializes its class to 0 and the
command stream that doesn't explicitly specify the class effectively
bypasses the firewall.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/job.c