drm: Release user fbs in drm_release
authorKristian Høgsberg <krh@redhat.com>
Thu, 12 Feb 2009 19:37:56 +0000 (14:37 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2009 02:21:11 +0000 (12:21 +1000)
commitea39f835168f60b01e59d0f348da25d297e7cf94
tree79a5f3cef511245789ab2e5b7c295b6693861b32
parentb4476f52e43fadcb9402723a1a55ba1308757525
drm: Release user fbs in drm_release

Avoids leaking fbs and associated buffers on release.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Tested-by: Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_fops.c
include/drm/drm_crtc.h