drm/i915/fbdev: Call intel_unpin_fb_obj() on release
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Apr 2016 08:56:35 +0000 (09:56 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Apr 2016 11:17:32 +0000 (12:17 +0100)
commitfb4b8ce139c36fe93cf006bd68f0aa0340dd59e8
tree4436eba8c097e520449fa9a4d6e70299337b6935
parentfe3db79b0b501958dc21e471803826d00c6acc32
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
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_fbdev.c