summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/vga
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-12-29 14:40:37 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-01-16 12:21:20 +0000
commitf131e3562ef0e0aa418eeb60a8fd562c5b9b0122 (patch)
tree46c67788de336dc3fe65fc6c2daa3e2936e10fdc /drivers/gpu/vga
parent6ffb7d0756e34427a39f6ffdf861fe93b49fc0e8 (diff)
downloadblackbird-op-linux-f131e3562ef0e0aa418eeb60a8fd562c5b9b0122.tar.gz
blackbird-op-linux-f131e3562ef0e0aa418eeb60a8fd562c5b9b0122.zip
drm/i915: Skip switch to kernel context if already done
Some engines are never user or already sitting idle in the kernel context and for those we can skip flushing the current context for i915_gem_switch_to_kernel_context(). We used to perform this optimisation but that was removed for convenience of converting over to multiple timelines and handling the pending request queues. From the perspective of writing selftests, reducing the number of background operations on the engines makes defining assertions easier. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170114162334.10271-2-chris@chris-wilson.co.uk Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'drivers/gpu/vga')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud