From: sashiko-bot@kernel.org
To: "Thomas Zimmermann" <tzimmermann@suse.de>
Cc: Frank.Li@kernel.org, gary@garyguo.net,
"Michael S. Tsirkin" <mst@redhat.com>,
imx@lists.linux.dev, ojeda@kernel.org,
intel-xe@lists.freedesktop.org, virtualization@lists.linux.dev,
intel-gfx@lists.freedesktop.org,
wsa+renesas@sang-engineering.com, linux-hyperv@vger.kernel.org,
dri-devel@lists.freedesktop.org,
"Eugenio Perez" <eperezma@redhat.com>
Subject: Re: [PATCH v5 11/14] drm/panic: Display panic screen via per-plane callback
Date: Fri, 11 Sep 2026 12:59:43 +0000 [thread overview]
Message-ID: <20260911125944.1BE5C1F00898@smtp.kernel.org> (raw)
In-Reply-To: <20260911124540.279841-12-tzimmermann@suse.de>
> Add display_panic_screen to struct drm_plane_funcs. If set on a plane,
> register a panic handler for the plane from the DRM core's panic
> handling. Invoke this helper from the core to display a panic screen.
>
> The new callback replaces get_scanout_buffer as signal for panic
> support in a plane. Using get_scanout_buffer is now merely a detail
> of the implementation. This will also free struct drm_scanout_buffer
> for use cases besides panic handling.
>
> With display_panic_screen in place, rename draw_panic_plane() to
> drm_plane_helper_display_panic_screen() and make it available to DRM
> drivers via drm_panic_helper.h. Do not change the implementation or
> functionality of this code. drm_plane_helper_display_panic_screen()
> still supports kernel messages, user messages and QR codes on various
> color formats.
> [ ... ]
> - only consider planes with get_scanout_buffer (Sashiko)
> - set callback for planes create with drm_crtc_init() (Sashiko)
> - return errno code from display_panic_screen
>
> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260911124540.279841-1-tzimmermann@suse.de?part=11
next prev parent reply other threads:[~2026-09-11 12:59 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-11 12:43 [PATCH v5 00/14] drm/panic: Split into core and helpers Thomas Zimmermann
2026-09-11 12:43 ` [PATCH v5 01/14] drm/panic: Do not use un-escaped URL as format string Thomas Zimmermann
2026-09-11 12:54 ` sashiko-bot
2026-09-11 12:43 ` [PATCH v5 02/14] drm/panic: Test address from kmap op for NULL Thomas Zimmermann
2026-09-11 12:58 ` sashiko-bot
2026-09-11 12:43 ` [PATCH v5 03/14] drm/panic: Return -EINVAL if font is not available Thomas Zimmermann
2026-09-11 12:53 ` sashiko-bot
2026-09-11 12:43 ` [PATCH v5 04/14] drm/panic: Return errno codes if panic output fails Thomas Zimmermann
2026-09-11 12:56 ` sashiko-bot
2026-09-11 12:43 ` [PATCH v5 05/14] drm/panic: Pass colors to draw_panic_dispatch() Thomas Zimmermann
2026-09-11 12:54 ` sashiko-bot
2026-09-11 12:43 ` [PATCH v5 06/14] drm/panic: Pass global module parameters to drm_panic_dispatch() Thomas Zimmermann
2026-09-11 12:56 ` sashiko-bot
2026-09-11 12:44 ` [PATCH v5 07/14] drm/panic: Return from screen_user if display is too small Thomas Zimmermann
2026-09-11 12:54 ` sashiko-bot
2026-09-11 12:44 ` [PATCH v5 08/14] drm/panic: Retry in dispatch function if panic output fails Thomas Zimmermann
2026-09-11 12:54 ` sashiko-bot
2026-09-11 12:44 ` [PATCH v5 09/14] drm/panic: Split draw_panic_plane() Thomas Zimmermann
2026-09-11 12:53 ` sashiko-bot
2026-09-11 12:44 ` [PATCH v5 10/14] drm/panic: Restrict to primary planes Thomas Zimmermann
2026-09-11 12:55 ` sashiko-bot
2026-09-11 12:44 ` [PATCH v5 11/14] drm/panic: Display panic screen via per-plane callback Thomas Zimmermann
2026-09-11 12:59 ` sashiko-bot [this message]
2026-09-11 12:44 ` [PATCH v5 12/14] drm/panic: Internalize panic locking in DRM core and helpers Thomas Zimmermann
2026-09-11 12:59 ` sashiko-bot
2026-09-11 12:44 ` [PATCH v5 13/14] drm/panic: Move panic display code into helper library Thomas Zimmermann
2026-09-11 12:59 ` sashiko-bot
2026-09-11 12:44 ` [PATCH v5 14/14] drm/panic: Compile KUnit tests as module Thomas Zimmermann
2026-09-11 13:01 ` sashiko-bot
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=20260911125944.1BE5C1F00898@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=eperezma@redhat.com \
--cc=gary@garyguo.net \
--cc=imx@lists.linux.dev \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=linux-hyperv@vger.kernel.org \
--cc=mst@redhat.com \
--cc=ojeda@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=tzimmermann@suse.de \
--cc=virtualization@lists.linux.dev \
--cc=wsa+renesas@sang-engineering.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox