]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix unintended recursion in ironlake_disable_rc6
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Feb 2011 09:42:52 +0000 (09:42 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Feb 2011 17:16:43 +0000 (17:16 +0000)
commite81836e0cc85c393f96e0eb1dbdb5f806f28e5ae
treefd96c7638bf675b7f8c37c6d517ad2b20479082e
parent94ca0ee25b3d3da6515c8b1e889b66a6bda269fe
drm/i915: Fix unintended recursion in ironlake_disable_rc6

After disabling, we're meant to teardown the bo used for the contexts,
not recurse into ourselves again and preventing module unload.

Reported-and-tested-by: Ben Widawsky <bwidawsk@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c