]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Enable Tegra186 syncpoint protection
authorMikko Perttunen <mperttunen@nvidia.com>
Thu, 28 Sep 2017 12:50:39 +0000 (15:50 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 20 Oct 2017 12:19:52 +0000 (14:19 +0200)
commit1c57cf9c9ca7f2855bb9bbbb19b5fd24ae1d75f9
tree678205dfba02670263243686112a7da609fc2e5c
parentc4295b3d82fc889c2c8687b364fe3a76202813dc
gpu: host1x: Enable Tegra186 syncpoint protection

Since Tegra186 the Host1x hardware allows syncpoints to be assigned to
specific channels, preventing any other channels from incrementing
them.

Enable this feature where available and assign syncpoints to channels
when submitting a job. Syncpoints are currently never unassigned from
channels since that would require extra work and is unnecessary with
the current channel allocation model.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/dev.h
drivers/gpu/host1x/hw/channel_hw.c
drivers/gpu/host1x/hw/syncpt_hw.c
drivers/gpu/host1x/syncpt.c