commit | fb4b8ce139c36fe93cf006bd68f0aa0340dd59e8 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Apr 28 09:56:35 2016 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Apr 28 12:17:32 2016 +0100 |
tree | 4436eba8c097e520449fa9a4d6e70299337b6935 | |
parent | fe3db79b0b501958dc21e471803826d00c6acc32 [diff] [blame] |
drm/i915/fbdev: Call intel_unpin_fb_obj() on release When releasing the intel_fbdev, we should unpin the framebuffer that we pinned during construction. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/1461833819-3991-1-git-send-email-chris@chris-wilson.co.uk
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index d30df876..b4c24e7 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2310,7 +2310,7 @@ return ret; } -static void intel_unpin_fb_obj(struct drm_framebuffer *fb, unsigned int rotation) +void intel_unpin_fb_obj(struct drm_framebuffer *fb, unsigned int rotation) { struct drm_i915_gem_object *obj = intel_fb_obj(fb); struct i915_ggtt_view view;