Re: BUG: sleeping function called from invalid context at drivers/gpu/drm/i915/gem/i915_gem_pages.c:526

From: Ville Syrjälä
Date: Mon Mar 25 2024 - 13:46:34 EST


On Mon, Mar 25, 2024 at 05:33:42PM +0100, Borislav Petkov wrote:
> On Tue, Feb 27, 2024 at 12:58:08PM +0200, Jani Nikula wrote:
> > Let's see what Ville says, but in the end bisection might be the
> > quickest way to find the regression. Though I understand it can be
> > tedious for you personally.
>
> That still fires with 6.-9-rc1. Does Ville have any suggestions or
> should I bisect?

Sorry, completely missed this. The culprit is going to be
commit 1de63528e728 ("drm/i915: Perform vblank evasion around legacy
cursor updates")

I'll cook up a fix.

--
Ville Syrjälä
Intel