diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2026-03-03 12:14:17 +0200 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2026-03-03 19:15:27 +0200 |
| commit | aa029f7a51d74401ebd05388ed573ad18b2830a8 (patch) | |
| tree | c0bed13371577d840d91bd3137151965dc529f04 /tools/perf/scripts/python | |
| parent | 7dc457ace829e2e3efb1503afe992b5f217387c0 (diff) | |
drm/i915/overlay: Fix oops on unload
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ä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260303101417.14409-1-ville.syrjala@linux.intel.com
Reviewed-by: Michał Grzelak <michal.grzelak@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
