[Intel-gfx] [PATCH 3/3] drm/i915: Attempt to uncouple object after catastrophic failure in unbind

Eric Anholt eric at anholt.net
Mon Aug 2 04:57:03 CEST 2010


On Fri, 23 Jul 2010 23:18:51 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> If we fail to flush outstanding GPU writes but return the memory to the
> system, we risk corrupting memory should the GPU recovery and complete
> those writes. On the other hand, if we bail early and free the object
> then we have a definite use-after-free and real memory corruption.
> Choose the lesser of two evils, since in order to recover from the hung
> GPU we need to completely reset it, those pending writes should
> never happen.

Applied this series to -next.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100801/aea7bbde/attachment.sig>


More information about the Intel-gfx mailing list