drm/i915: Track purged state.
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Sep 2009 13:24:13 +0000 (14:24 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Sep 2009 00:10:38 +0000 (01:10 +0100)
commitbb6baf76f45708dbba651ed76a7ad94462f30c0b
treea58c54d10d9f35f32799d59189467607a84c1b4c
parent9731129c5e3077d0c2da13479f91c3a07e341f70
drm/i915: Track purged state.

In order to correctly prevent the invalid reuse of a purged buffer, we
need to track such events and warn the user before something bad
happens.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c
include/drm/i915_drm.h