drm/nv50/kms: fix pin refcnt leaks
authorBen Skeggs <bskeggs@redhat.com>
Tue, 9 Jul 2013 02:35:55 +0000 (12:35 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 10 Jul 2013 00:47:42 +0000 (10:47 +1000)
commit8dda53fca24789acf891ef31a3c5e03332b43cce
tree0f2cb2390a2a8e818e6de2410d403c0c837cb6b3
parentfdfb8332651db7a280851dfccfc4f0cff4bcd052
drm/nv50/kms: fix pin refcnt leaks

Weren't critical previously, the buffers would go away anyway.  But with
recent changes to core drm/ttm lockdep will get pissed off now, so let's
fix it.

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