drm/i915: Do not mis-classify clean objects as purgeable
commit963b483691314ed174ceb883f2b9f13b3ef7fb33
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 20 Sep 2009 22:03:54 +0000 (20 23:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Sep 2009 00:10:36 +0000 (23 01:10 +0100)
tree14547cca5a646c19b5eb670143a90b28761b9462
parent13a05fd978a110d1efcda4a09e225aa156204ea3
drm/i915: Do not mis-classify clean objects as purgeable

Whilst cleaning up the patches for submission, I mis-classified non-dirty
objects as purgeable. This was causing the backing pages for those
objects to be evicted under memory-pressure, discarding valid and
unreplaceable texture data.

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