Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99507307 authored by Chris Wilson's avatar Chris Wilson
Browse files

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: default avatarBen Widawsky <bwidawsk@gmail.com>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent c2e0eb16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)