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)
commit995073072c2ae72255b595b192cc63f43fd386ef
treefd96c7638bf675b7f8c37c6d517ad2b20479082e
parentc2e0eb167070a6e9dcb49c84c13c79a30d672431
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