commit | 6398d42454ce1671b3422c34fd0f600c9c76c8b1 | [log] [tgz] |
---|---|---|
author | Jerome Glisse <jglisse@redhat.com> | Wed Jan 13 12:32:36 2010 +0100 |
committer | Dave Airlie <airlied@redhat.com> | Thu Jan 14 11:53:21 2010 +1000 |
tree | d52d909cc653b1fb9a6553ca973900d1bea2aabf | |
parent | 7a15cbd40108a670baae71cbd3cec62b65891fa6 [diff] |
drm/radeon/kms: Do not unpin buffer in fb destruction It's not necessary to unpin buffer in fb destruction. pin/unpin need to be balanced and we don't pin in fb creation. We pin when an fb is associated to a crtc and unpin when the fb is disassociated from the crtc. Note: Maybe we should take reference on fb in set_base callback so fb doesn't disappear until it's unbind from ctrc. Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>