drm/nouveau: do not unpin in nouveau_gem_object_del
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Sun, 7 Jul 2013 08:37:35 +0000 (10:37 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 10 Jul 2013 00:47:49 +0000 (10:47 +1000)
commit4f3855997c5d2bf6443853800eb1a03f61ad9140
tree49eb36131fa92c38d3a622914c5ee690306ca59a
parent8dda53fca24789acf891ef31a3c5e03332b43cce
drm/nouveau: do not unpin in nouveau_gem_object_del

This should no longer be required, and is harmful for framebuffer pinning.
Also add a warning if unpin causes the pin count to drop below 0.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_gem.c