summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-02-24 09:42:52 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-24 17:16:43 +0000
commit995073072c2ae72255b595b192cc63f43fd386ef (patch)
treefd96c7638bf675b7f8c37c6d517ad2b20479082e /drivers/gpu
parentc2e0eb167070a6e9dcb49c84c13c79a30d672431 (diff)
downloadop-kernel-dev-995073072c2ae72255b595b192cc63f43fd386ef.zip
op-kernel-dev-995073072c2ae72255b595b192cc63f43fd386ef.tar.gz
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.c2
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 9ca1bb2..e79b25b 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)
OpenPOWER on IntegriCloud