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)
commit43240bbd871e2c8f89584d369278a3d18680d9ea
tree925ddae78046c366d0bbeb93657a73f6d77a2d88
parent8474b02531c4881a762c52ef869c52429e38633f
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