[PATCH v4 7/9] drm/meson: serialize OSD state updates with the IRQ

sashiko-bot at kernel.org sashiko-bot at kernel.org
Fri Dec 4 00:30:13 PST 2026


Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/meson: missing Fixes trailer for pre-existing IRQ locking
  bug
--

commit b6c291a68430244d8dc07950cbce40fae93ba19b
Author: Guillaume La Roque <glaroque at baylibre.com>

> drm/meson: serialize OSD state updates with the IRQ
>
> Use event_lock when the IRQ consumes the cached OSD state and when atomic
> flush publishes the commit flags, matching the lock held by plane update.
>
> Clear the cached enable state under the same lock before disabling the
> primary hardware. This prevents the IRQ from programming it during
> teardown and prepares the shared state handling for a second OSD.
>
> Signed-off-by: Guillaume La Roque <glaroque at baylibre.com>

[Severity: Low]
This fixes a pre-existing race where meson_plane_atomic_update() held
event_lock while meson_crtc_irq(), meson_crtc_atomic_flush(), and CRTC
disable accessed the cached OSD state without it.  Should this include:

  Fixes: bbbe775ec5b5 ("drm: Add support for Amlogic Meson Graphic Controller")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-meson-g12a-osd2-v4-0-ad356340dbd6@baylibre.com?part=7



More information about the linux-amlogic mailing list