]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: At first try a non-blocking allocation for the gather copy
authorDmitry Osipenko <digetx@gmail.com>
Wed, 14 Jun 2017 23:18:43 +0000 (02:18 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Jun 2017 12:25:56 +0000 (14:25 +0200)
commit3e00c28c5dd68ec2f0dd166dd766ffce5b364856
tree925ddae78046c366d0bbeb93657a73f6d77a2d88
parent5a37054b75bfcc342e04b1ec4e3ab8a8f658272e
gpu: host1x: At first try a non-blocking allocation for the gather copy

The blocking gather copy allocation is a major performance downside of the
Host1x firewall, it may take hundreds milliseconds which is unacceptable
for the real-time graphics operations. Let's try a non-blocking allocation
first as a least invasive solution, it makes opentegra (Xorg driver)
performance indistinguishable with/without the firewall.

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