All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Melissa Wen <mwen@igalia.com>
Cc: "Thorsten Leemhuis" <regressions@leemhuis.info>,
	"Viktor Jägersküpper" <viktor_jaegerskuepper@freenet.de>,
	"Alex Deucher" <alexdeucher@gmail.com>,
	airlied@gmail.com, alexander.deucher@amd.com,
	christian.koenig@amd.com, daniels@collabora.com,
	harry.wentland@amd.com, leandro.ribeiro@collabora.com,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	pekka.paalanen@collabora.com, simona@ffwll.ch,
	siqueira@igalia.com, sunpeng.li@amd.com, tzimmermann@suse.de,
	"Alex Hung" <alex.hung@amd.com>,
	"Daniel Wheeler" <Daniel.Wheeler@amd.com>,
	kernel-dev@igalia.com, "Lyude Paul" <lyude@redhat.com>,
	"Timur Kristóf" <timur.kristof@gmail.com>,
	"Mikhail Gavrilov" <mikhail.v.gavrilov@gmail.com>,
	"Xaver Hugl" <xaver.hugl@gmail.com>,
	amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	"Linux kernel regressions list" <regressions@lists.linux.dev>
Subject: Re: [PATCH v4 0/3] drm/atomic-state-helper: fixes for blend-mode-prop warning
Date: Thu, 3 Sep 2026 06:59:46 +0200	[thread overview]
Message-ID: <2026090341-appraisal-jot-6aec@gregkh> (raw)
In-Reply-To: <cba8b58c-4869-494e-9b1c-84483ff8e701@igalia.com>

On Wed, Sep 02, 2026 at 08:58:37PM +0200, Melissa Wen wrote:
> 
> 
> On 01/09/2026 09:12, Thorsten Leemhuis wrote:
> > On 8/28/26 14:19, Viktor Jägersküpper wrote:
> > > On 8/28/26 09:22, Thorsten Leemhuis wrote:
> > > > On 8/27/26 19:14, Melissa Wen wrote:
> > > > > On 27/08/2026 18:37, Melissa Wen wrote:
> > > > > > On 27/08/2026 15:34, Alex Deucher wrote:
> > > > > > > On Wed, Aug 26, 2026 at 7:20 AM Melissa Wen <mwen@igalia.com> wrote:
> > > > > > > > PREMULTI was the default DRM blend mode until 9813e158d13d
> > > > > > > > ("drm/drm_blend: allow blend mode property without PREMULTI")
> > > > > > > > introduced
> > > > > > > > the possibility of exposing the blend mode property without PREMULTI
> > > > > > > > being supported. However, __drm_atomic_helper_plane_state_init() still
> > > > > > > > resets pixel_blend_mode to PREMULTI (hardcoded), ignoring the supported
> > > > > > > > mode in this property. In the same series, 860e748bddcc ("drm: ensure
> > > > > > > > blend mode supported if pixel format with alpha exposed") starts
> > > > > > > > warning
> > > > > > > > drivers that supports alpha formats in a given planes but doesn't
> > > > > > > > support blend mode property, which includes AMD primary and cursor
> > > > > > > > planes.
> > > > > [...]
> > > > > > > I presume you are planning to apply this directly to drm-misc for 7.3?
> > > > > > Right, I'll apply to drm-misc-fixes, just doing it now.
> > > > > Or not now. I have to wait for -rc1.
> > > > > I'll keep it on my radar.
> > > > Hmmm, that sounds like these fixes will miss -rc1. But wouldn't it be
> > > > good to get them included there, as they afaik (please correct me if I'm
> > > > wrong, is easy to mix something up from the outside!) the warnings that
> > > > Greg described as ""It's not good to boot and have a bunch of warnings
> > > > already happening, resulting in a "tainted" kernel before I have the
> > > > chance to break anything manually myself...""[1], as more people then
> > > > will likely encounter this (and then waste time on bisecting an issue
> > > > known for weeks for which a fix exists).
> > > > 
> > > > [1]
> > > > https://lore.kernel.org/all/2026082651-spinning-cornbread-33ba@gregkh/
> > > If I understand correctly, the *actual* fix (for all affected drivers)
> > > will make it into 7.3-rc1, see this answer to my question:
> > > https://lore.kernel.org/dri-devel/20260826-brave-nyala-of-elevation-d23aea@houat/
> > > 
> > > This fix is queued in drm-next:
> > > https://gitlab.freedesktop.org/drm/kernel/-/commit/271e90eb5f9ff34951647e5ed33c1775eebcca50
> > Ahh, yeah, many thx, I had see this downgrade to drm_warn() (which made
> > it to -rc1, yeah \o/), but had not made the right connections. :-/
> > 
> > FWIW, even with that done there is now one amdgpu regression report
> > about this already post-rc1:
> > https://lore.kernel.org/all/CANkdJ2VvJQSBzyOq=LgSW1=Z8-YiN_r9Py2iJ0UJDo55+dbfuA@mail.gmail.com/
> > 
> > """
> > [...] After updating from kernel v7.2.2 to v7.3-rc1, several DRM plane
> > warnings regarding unset blend modes for pixel formats with alpha
> > channels started appearing in dmesg during initialization.
> > 
> > [drm] [PLANE:44:plane-0] pixel format with alpha exposed but blend
> > mode not setup. Please fix. [...]
> > """
> > 
> > Will reply there now. Wondering if we need to do something about that if
> > more reports like that show up, but let's wait if that's the case.
> 
> I just applied this series to drm-misc-fixes:
> - c3080b58d81d ("drm/atomic-state-helper: set pixel_blend_mode to prop
> default on reset")
> - f0c75da0a6b4 ("drm/amd/display: fix missing blend-mode-prop warning for
> DCN")
> - 332ad707e38f ("drm/amd/display: advertise PIXEL_NONE and PREMULTI blend
> mode for DCE")
> 
> With this, the dmesg message will no longer appear on the AMD driver.

Great, thanks!

      reply	other threads:[~2026-09-03  5:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-26 10:37 [PATCH v4 0/3] drm/atomic-state-helper: fixes for blend-mode-prop warning Melissa Wen
2026-08-26 10:37 ` [PATCH v4 1/3] drm/atomic-state-helper: set pixel_blend_mode to prop default on reset Melissa Wen
2026-08-26 10:37 ` [PATCH v4 2/3] drm/amd/display: fix missing blend-mode-prop warning for DCN Melissa Wen
2026-08-26 10:37 ` [PATCH v4 3/3] drm/amd/display: advertise PIXEL_NONE and PREMULTI blend mode for DCE Melissa Wen
2026-08-26 10:47   ` Melissa Wen
2026-08-26 17:08   ` Alex Hung
2026-08-26 16:49 ` [PATCH v4 0/3] drm/atomic-state-helper: fixes for blend-mode-prop warning Timur Kristóf
2026-08-27 17:17   ` Melissa Wen
2026-08-27 13:34 ` Alex Deucher
2026-08-27 16:37   ` Melissa Wen
2026-08-27 17:14     ` Melissa Wen
2026-08-28  7:22       ` Thorsten Leemhuis
2026-08-28 12:19         ` Viktor Jägersküpper
2026-09-01  7:12           ` Thorsten Leemhuis
2026-09-02 18:58             ` Melissa Wen
2026-09-03  4:59               ` Greg KH [this message]

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=2026090341-appraisal-jot-6aec@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=Daniel.Wheeler@amd.com \
    --cc=airlied@gmail.com \
    --cc=alex.hung@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=alexdeucher@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=daniels@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=kernel-dev@igalia.com \
    --cc=leandro.ribeiro@collabora.com \
    --cc=lyude@redhat.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mikhail.v.gavrilov@gmail.com \
    --cc=mripard@kernel.org \
    --cc=mwen@igalia.com \
    --cc=pekka.paalanen@collabora.com \
    --cc=regressions@leemhuis.info \
    --cc=regressions@lists.linux.dev \
    --cc=simona@ffwll.ch \
    --cc=siqueira@igalia.com \
    --cc=sunpeng.li@amd.com \
    --cc=timur.kristof@gmail.com \
    --cc=tzimmermann@suse.de \
    --cc=viktor_jaegerskuepper@freenet.de \
    --cc=xaver.hugl@gmail.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 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.