xvmc: Handle allocation failure around batch submission
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2013 14:56:22 +0000 (14:56 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2013 15:05:56 +0000 (15:05 +0000)
commitc489934ed732ed3d5a906939381c62a6bc1c38d5
tree7d96475036f22ccad0bc43ad98ad7f71449f4ecb
parent3e93449b5492a4fc09401c23f8754655b63959b5
xvmc: Handle allocation failure around batch submission

If we fail to allocate a new batch, just stall and reuse the old one
rather than crashing.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
xvmc/i915_xvmc.c
xvmc/i965_xvmc.c
xvmc/intel_batchbuffer.c
xvmc/intel_batchbuffer.h
xvmc/intel_xvmc.c
xvmc/xvmc_vld.c