commit | 43e28f092b2fa4ebc46bdc210134a80610815785 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Jan 08 10:53:09 2013 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Jan 17 22:07:59 2013 +0100 |
tree | 1dceb3f656f7c10519d74419f62b849d1bcbf791 | |
parent | dd624afd533bdc87b8c10835515a0c8b2b9868b1 [diff] |
drm/i915: Bail if we attempt to allocate pages for a purged object Move the existing checking inside bind_to_gtt() to the more appropriate layer in order to prevent recreation of the pages after they have been explicitly truncated. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>