Skip to content

Commit 9950730

Browse files
committed
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>
1 parent c2e0eb1 commit 9950730

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/i915/intel_display.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6575,7 +6575,7 @@ static void ironlake_disable_rc6(struct drm_device *dev)
65756575
POSTING_READ(RSTDBYCTL);
65766576
}
65776577

6578-
ironlake_disable_rc6(dev);
6578+
ironlake_teardown_rc6(dev);
65796579
}
65806580

65816581
static int ironlake_setup_rc6(struct drm_device *dev)

0 commit comments

Comments
 (0)