summaryrefslogtreecommitdiff
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-09-03 13:01:40 +0100
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2015-10-28 17:10:31 +0000
commit608c1a526c99d1858b02d035657e28c9837667a5 (patch)
tree81dced3daf2ac0192ce1138d0c6b1a5600cb61c8 /crypto/cipher.c
parent01403de3c037932883b181f7f6b9962856064f9a (diff)
drm/i915: Recover all available ringbuffer space following reset
Having flushed all requests from all queues, we know that all ringbuffers must now be empty. However, since we do not reclaim all space when retiring the request (to prevent HEADs colliding with rapid ringbuffer wraparound) the amount of available space on each ringbuffer upon reset is less than when we start. Do one more pass over all the ringbuffers to reset the available space Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Cc: Arun Siluvery <arun.siluvery@linux.intel.com> Cc: Mika Kuoppala <mika.kuoppala@intel.com> Cc: Dave Gordon <david.s.gordon@intel.com>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions