commit | 498c555f56a02ec1059bc150cde84411ba0ac010 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Sun May 29 17:48:32 2011 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Thu Jun 02 10:46:41 2011 +1000 |
tree | 645304a165513aeb4b21f3522a2b2c708c277e03 | |
parent | 2f2f96d1ea72e6602ae440ac2867a6004edb37a1 [diff] |
drm/radeon: fix oops in ttm reserve when pageflipping (v2) We need to take a reference to this object, pinning doesn't take a reference so if userspace deletes the object it can disappear even if pinned. v2: fix error paths to unreference properly also. should fix: https://bugzilla.kernel.org/show_bug.cgi?id=32402 and https://bugzilla.redhat.com/show_bug.cgi?id=680651 Acked-By: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>