diff options
author | Kristian Høgsberg <krh@redhat.com> | 2009-02-12 14:37:56 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-02-20 12:21:11 +1000 |
commit | ea39f835168f60b01e59d0f348da25d297e7cf94 (patch) | |
tree | 79a5f3cef511245789ab2e5b7c295b6693861b32 /include/drm | |
parent | b4476f52e43fadcb9402723a1a55ba1308757525 (diff) | |
download | talos-obmc-linux-ea39f835168f60b01e59d0f348da25d297e7cf94.tar.gz talos-obmc-linux-ea39f835168f60b01e59d0f348da25d297e7cf94.zip |
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>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index d54de24bf371..5ded1acfb543 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -609,7 +609,7 @@ extern char *drm_get_dvi_i_subconnector_name(int val); extern char *drm_get_dvi_i_select_name(int val); extern char *drm_get_tv_subconnector_name(int val); extern char *drm_get_tv_select_name(int val); -extern void drm_fb_release(struct file *filp); +extern void drm_fb_release(struct drm_file *file_priv); extern int drm_mode_group_init_legacy_group(struct drm_device *dev, struct drm_mode_group *group); extern struct edid *drm_get_edid(struct drm_connector *connector, struct i2c_adapter *adapter); |