]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Optimize BOs usage when firewall is enabled
authorDmitry Osipenko <digetx@gmail.com>
Mon, 29 Jun 2020 03:18:39 +0000 (06:18 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 17 Jul 2020 14:06:14 +0000 (16:06 +0200)
commit054edab6af93615869f4ae25ce986ac0cb23351b
treeb05c8237d0a2944431229850e7487380252a2022
parentd36b6882ea42f76a52d36d79a2c0df0128217c2d
gpu: host1x: Optimize BOs usage when firewall is enabled

We don't need to hold and pin original BOs of the gathers in a case of
enabled firewall because in this case gather's content is copied and the
copy is used by the executed job.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/job.c