On Tue, 3 Mar 2026, Ville Syrjala wrote:
From: Ville Syrjälä <[email protected]>

Apparently I failed to test the unload case properly and
thus didn't notice that the i915_overlay_is_active() needs
i915->overlay after fetch_and_zero() already cleared it.
Stop using fetch_and_zero() and only clear the pointer at
the end to avoid the oops.

Fixes: 38d9a352c45e ("drm/i915/overlay: Extract i915_overlay_is_active()")
Signed-off-by: Ville Syrjälä <[email protected]>

Reviewed-by: Michał Grzelak <[email protected]>

BR,
Michał

Reply via email to