commit | eac2095398668f989a3dd8d00be1b87850d78c01 | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Mon Aug 22 03:15:04 2011 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Tue Aug 23 09:35:16 2011 +0100 |
tree | 46fb51fd804c47feaac6a9e1862a36b43984f254 | |
parent | 7c4c3960dff109bc5db4c35da481c212dadb5eb5 [diff] |
drm/ttm: unbind ttm before destroying node in accel move cleanup Nouveau makes the assumption that if a TTM is bound there will be a mm_node around for it and the backwards ordering here resulted in a use-after-free on some eviction paths. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>