commit | 3e12302705a961cfe86d52155b4a8cbb34214748 | [log] [tgz] |
---|---|---|
author | Ben Widawsky <ben@bwidawsk.net> | Wed Jul 31 17:00:04 2013 -0700 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Aug 05 19:04:13 2013 +0200 |
tree | 7e0bce798c6a0f8c0badac9953cd74a73f61d8e2 | |
parent | 3089c6f239d7d2c4cb2dd5c353e8984cf79af1d7 [diff] |
drm/i915: BUG_ON put_pages later With multiple VMs, the eviction code benefits from being able to blindly put pages without needing to know if there are any entities still holding on to those pages. As such it's preferable to return the -EBUSY before the BUG. Eviction code is the only user for now, but overall it makes sense anyway, IMO. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>