From: sashiko-bot@kernel.org
To: "Dillon Amburgey" <dillona@gmail.com>
Cc: dri-devel@lists.freedesktop.org, virtualization@lists.linux.dev,
"Eugenio Perez" <eperezma@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [PATCH v3 4/5] drm/qxl: own packed primary shadows in atomic plane state
Date: Sat, 26 Sep 2026 16:41:59 +0000 [thread overview]
Message-ID: <20260926164159.E6E801F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260926163123.39217-5-dillona@gmail.com>
> Preparing a dumb framebuffer changes device-wide layout and BO shadow
> bindings before the atomic commit succeeds. An aborted preparation can
> redirect live framebuffers to an uncommitted shadow. Per-plane cleanup
> can also remove a shadow binding still needed by another head using the
> same framebuffer.
>
> Give each prepared primary plane state a reference and pin to a shared
> shadow. Compute the complete new layout and prepare one matching shadow
> without changing the displayed states. Include all primary planes and
> CRTCs so replacement and repacking redraw every head under the same
> commit dependencies. Release each state's resources independently.
>
> Keep the primary while any new primary plane remains active, and destroy
> it when the last head turns off, including DPMS with retained framebuffer
> bindings. Route DirtyFB clips through each matching active plane state
> to its packed slot; copy clips before the draw helper translates them.
>
> Retain allocation-based packing and full-framebuffer drawing here; plane
> source geometry is handled separately.
>
> Fixes: 90adda2ce898 ("drm/qxl: cover all crtcs in shadow bo.")
> Assisted-by: LLM sparse
> Signed-off-by: Dillon Amburgey <dillona@gmail.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260926163123.39217-1-dillona@gmail.com?part=4
next prev parent reply other threads:[~2026-09-26 16:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-26 16:31 [PATCH v3 0/5] drm/qxl: fix shared-primary lifetime and source packing Dillon Amburgey
2026-09-26 16:31 ` [PATCH v3 1/5] drm/qxl: unpin the framebuffer when plane preparation fails Dillon Amburgey
2026-09-26 16:38 ` sashiko-bot
2026-09-26 16:31 ` [PATCH v3 2/5] drm/qxl: wait for pending commits before applying DirtyFB Dillon Amburgey
2026-09-26 16:39 ` sashiko-bot
2026-09-26 16:31 ` [PATCH v3 3/5] drm/qxl: clear the monitor configuration for disabled head zero Dillon Amburgey
2026-09-26 16:39 ` sashiko-bot
2026-09-26 16:31 ` [PATCH v3 4/5] drm/qxl: own packed primary shadows in atomic plane state Dillon Amburgey
2026-09-26 16:41 ` sashiko-bot [this message]
2026-09-26 16:31 ` [PATCH v3 5/5] drm/qxl: pack dumb heads from their plane source rectangles Dillon Amburgey
2026-09-26 16:45 ` 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=20260926164159.E6E801F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dillona@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=eperezma@redhat.com \
--cc=mst@redhat.com \
--cc=sashiko-reviews@lists.linux.dev \
--cc=virtualization@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox