From: sashiko-bot@kernel.org
To: "Guillaume La Roque" <glaroque@baylibre.com>
Cc: dri-devel@lists.freedesktop.org,
linux-amlogic@lists.infradead.org, neil.armstrong@linaro.org
Subject: Re: [PATCH v4 7/9] drm/meson: serialize OSD state updates with the IRQ
Date: Fri, 04 Dec 2026 08:30:13 +0000 [thread overview]
Message-ID: <sashiko-outbox-249394@kernel.org> (raw)
In-Reply-To: <20261204-meson-g12a-osd2-v4-7-ad356340dbd6@baylibre.com>
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@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@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
WARNING: multiple messages have this Message-ID (diff)
From: sashiko-bot@kernel.org
To: "Guillaume La Roque" <glaroque@baylibre.com>
Cc: dri-devel@lists.freedesktop.org,
linux-amlogic@lists.infradead.org, neil.armstrong@linaro.org
Subject: Re: [PATCH v4 7/9] drm/meson: serialize OSD state updates with the IRQ
Date: Fri, 04 Dec 2026 08:30:13 +0000 [thread overview]
Message-ID: <sashiko-outbox-249394@kernel.org> (raw)
In-Reply-To: <20261204-meson-g12a-osd2-v4-7-ad356340dbd6@baylibre.com>
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@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@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
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2026-12-04 8:30 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 8:08 [PATCH v4 0/9] drm/meson: add a second RGB plane on G12A Guillaume La Roque
2026-12-04 8:08 ` Guillaume La Roque
2026-12-04 8:08 ` [PATCH v4 1/9] drm/meson: honor framebuffer offsets for the primary plane Guillaume La Roque
2026-12-04 8:08 ` Guillaume La Roque
2026-12-04 8:30 ` sashiko-bot
2026-12-04 8:30 ` sashiko-bot
2026-12-04 8:08 ` [PATCH v4 2/9] drm/meson: isolate primary plane scaler setup Guillaume La Roque
2026-12-04 8:08 ` Guillaume La Roque
2026-12-04 8:08 ` [PATCH v4 3/9] drm/meson: keep RGB scanout state per OSD Guillaume La Roque
2026-12-04 8:08 ` Guillaume La Roque
2026-12-04 8:08 ` [PATCH v4 4/9] drm/meson: parameterize the G12A OSD color matrix setup Guillaume La Roque
2026-12-04 8:08 ` Guillaume La Roque
2026-12-04 8:08 ` [PATCH v4 5/9] drm/meson: handle primary plane zpos allocation failure Guillaume La Roque
2026-12-04 8:08 ` Guillaume La Roque
2026-12-04 8:08 ` [PATCH v4 6/9] drm/meson: select RGB plane registers by OSD index Guillaume La Roque
2026-12-04 8:08 ` Guillaume La Roque
2026-12-04 8:08 ` [PATCH v4 7/9] drm/meson: serialize OSD state updates with the IRQ Guillaume La Roque
2026-12-04 8:08 ` Guillaume La Roque
2026-12-04 8:30 ` sashiko-bot [this message]
2026-12-04 8:30 ` sashiko-bot
2026-12-04 8:08 ` [PATCH v4 8/9] drm/meson: publish pending OSD updates with the flip event Guillaume La Roque
2026-12-04 8:08 ` Guillaume La Roque
2026-12-04 8:41 ` sashiko-bot
2026-12-04 8:41 ` sashiko-bot
2026-12-04 8:08 ` [PATCH v4 9/9] drm/meson: add a linear RGB overlay on G12A OSD2 Guillaume La Roque
2026-12-04 8:08 ` Guillaume La Roque
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-249394@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=glaroque@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=neil.armstrong@linaro.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.