diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-24 09:42:52 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-24 17:16:43 +0000 |
commit | 995073072c2ae72255b595b192cc63f43fd386ef (patch) | |
tree | fd96c7638bf675b7f8c37c6d517ad2b20479082e /drivers/gpu | |
parent | c2e0eb167070a6e9dcb49c84c13c79a30d672431 (diff) | |
download | linux-3.10-995073072c2ae72255b595b192cc63f43fd386ef.tar.gz linux-3.10-995073072c2ae72255b595b192cc63f43fd386ef.tar.bz2 linux-3.10-995073072c2ae72255b595b192cc63f43fd386ef.zip |
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 9ca1bb2554f..e79b25bbee6 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -6575,7 +6575,7 @@ static void ironlake_disable_rc6(struct drm_device *dev) POSTING_READ(RSTDBYCTL); } - ironlake_disable_rc6(dev); + ironlake_teardown_rc6(dev); } static int ironlake_setup_rc6(struct drm_device *dev) |