]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf30a7a43b8f59025a34dd937368fc36e3c180593
treeac6d2d5518c2b711c30cf787212c4a2381a41178
parentc85c5c5fbc460e73a7364c0064a1441c321c8b4d
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