commit | 1869b620d27a0e353bd6558015713fad2d0cc09b | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Sat Apr 21 16:23:24 2012 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu May 03 11:18:07 2012 +0200 |
tree | 632943f4381d72d4165f7abf9046842effb3535f | |
parent | 5d82e3e6427d407e5e4713a2f73210b4e7801ad3 [diff] |
drm/i915: Only the zap the VMA after updating the tiling parameters If we fail to unbind and so abort the change in tiling, we will have removed the VMA for the object for no reason. The likelihood of unbind failing is slim (other than ERESTARTSYS which will cause userspace to try again), so the change is mostly for the principle. Also improve the slightly stale comment. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>