drm/i915: Drop crtc->fb pin on disable.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 15:30:16 +0000 (16:30 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 10:59:21 +0000 (11:59 +0100)
commitcdd59983118c02d9c5ba0c116ded1faef47ec452
treeac6d2d5518c2b711c30cf787212c4a2381a41178
parent6eecba33f2fc24544073631dc1b23b7a312e644b
drm/i915: Drop crtc->fb pin on disable.

In order to handle disable_functions() where the framebuffer is
decoupled from the crtc we need to unpin the fb in order to prevent a
leak.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=29857
Reported-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c