From: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
To: Maxime Ripard <mripard@kernel.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Dave Stevenson <dave.stevenson@raspberrypi.com>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
kernel@collabora.com, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Subject: Re: [PATCH v3 0/2] Fixup drm_atomic_helper_connector_hdmi_check()
Date: Tue, 28 Jan 2025 13:09:40 +0200 [thread overview]
Message-ID: <65dc1384-88cc-480c-a028-f927ed2419df@collabora.com> (raw)
In-Reply-To: <xbo2usn3yo4gvdng76nr2mdvvotsiqmler65kn2irwpywy4fin@wrxhoakcbmef>
Hi Maxime,
On 1/28/25 11:58 AM, Maxime Ripard wrote:
> Hi,
>
> On Tue, Jan 14, 2025 at 08:16:55PM +0200, Cristian Ciocaltea wrote:
>> Fix a NULL pointer dereference discovered while unloading a DRM module
>> and provide a test to make sure the helper works as expected in case the
>> connector's CRTC is shut down.
>>
>> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
>
> I'm sorry, I didn't realize it at the time but it looks like it was made
> redundant by another series that got merged about the same time you were
> sending this one:
>
> https://patchwork.freedesktop.org/series/143378/
>
> Sorry again,
No worries.
I checked the merged series and I think some bits from this series are
still applicable:
* Simplify the NULL verification by considering only the return of
connector_state_get_mode(), which gets rid of the redundant
'new_conn_state->crtc' check, but also covers the additional checks
already performed in that function.
* Update the newly introduced test case to also verify
{mode|connectors|active}_changed.
I could send those as v4, but probably it makes sense to drop this
series and start a new one - please let me know if you have a preference
here.
Thanks,
Cristian
prev parent reply other threads:[~2025-01-28 11:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-14 18:16 Cristian Ciocaltea
2025-01-14 18:16 ` [PATCH v3 1/2] drm/connector: hdmi: Handle NULL display mode in state check helper Cristian Ciocaltea
2025-01-14 18:16 ` [PATCH v3 2/2] drm/tests: hdmi: Add connector's CRTC deactivation test Cristian Ciocaltea
2025-01-28 9:58 ` [PATCH v3 0/2] Fixup drm_atomic_helper_connector_hdmi_check() Maxime Ripard
2025-01-28 11:09 ` Cristian Ciocaltea [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=65dc1384-88cc-480c-a028-f927ed2419df@collabora.com \
--to=cristian.ciocaltea@collabora.com \
--cc=airlied@gmail.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=dave.stevenson@raspberrypi.com \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=kernel@collabora.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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
all inboxes | Powered by JetHome®