]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Rings are always flushed
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Jun 2019 20:35:04 +0000 (21:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Jun 2019 18:13:26 +0000 (19:13 +0100)
commit46dabee7d9abf61e09c549174069d990d05d72e9
tree0c1a08a8efa2417b9f2db006aa560e3392c041ea
parentb0ea7ccafad8a48226860753f45b13879a98bbb9
drm/i915: Rings are always flushed

Our intel_rings are always flushed as they are continually used to submit
commands to the GPU, and so do not need to be flushed on unpinning. This
avoids pulling in the flush_ggtt_writes locking into our context
unpin, which we want to allow from atomic context (for simplicity).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190619203504.4220-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_ringbuffer.c