]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't use GPU relocations prior to cmdparser stalls
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 26 Aug 2017 13:56:20 +0000 (14:56 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 29 Aug 2017 09:41:33 +0000 (10:41 +0100)
commit02d69d2519aa328c68dfb72343d9de1bd9f449e3
tree6871eb57114d71415644cca8a2ff5db32c001938
parent7fb0e0cdde80587027f78d0557de9884dceb82b7
drm/i915: Don't use GPU relocations prior to cmdparser stalls

If we are using the cmdparser, we will have to copy the batch and so
stall for the relocations. Rather than prolong that stall by adding more
relocation requests, just use CPU relocations and do the stall upfront.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170826135620.25949-1-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_gem_execbuffer.c