summaryrefslogtreecommitdiff
path: root/src/sna/gen2_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-10-09 23:54:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-10-10 00:00:46 +0100
commitb16999da214803a026d7246ec4aa62031e82dfc8 (patch)
treea97e6e0e0b8eddbc3ad2a936dbe88d7078987798 /src/sna/gen2_render.c
parentb9ad5b625e8935a3c115760bdd4738d4432542e3 (diff)
sna: Upon unwinding operations, also check for exec objects to clear
If we cancel an operation after partially committing it, we may leave the batch bookkeeping in an inconsistent state with an exec object with a zero-length batch. Ordinarily, this would not be an issue as we could pass the extra object to the next batch. However, if we switch rings, we need to clear the extra objects as they are currently flagged as being on the wrong ring, leading to hilarity. Reported-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen2_render.c')
0 files changed, 0 insertions, 0 deletions