From: sashiko-bot@kernel.org
To: "Alex Kazinsky" <a.kazinsky@ideco.ru>
Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 3/5] drm/connector: Propagate content type property creation errors
Date: Fri, 27 Nov 2026 08:38:20 +0000 [thread overview]
Message-ID: <sashiko-outbox-236888@kernel.org> (raw)
In-Reply-To: <20261126081602.2901498-4-a.kazinsky@ideco.ru>
Thank you for your contribution! Sashiko AI review found no new issues
in this patch, but noticed 1 related pre-existing issue it does not
introduce:
- [High] drm/amd/display: active work reinit in
amdgpu_dm_connector_init_helper() [1]
--
commit b9748e6639f50b5b110c49b43861b3ed27424ab6
Author: Alex Kazinsky <a.kazinsky@ideco.ru>
drm/connector: Propagate content type property creation errors
This commit propagates errors from drm_mode_create_content_type_property()
in drm_connector_attach_content_type_property() and logs attachment failures
in AMDGPU and i915.
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c
> index 8a039ef6e4b76..3d163c2fc1066 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c
> @@ -3325,7 +3325,8 @@ void amdgpu_dm_connector_init_helper(struct amdgpu_display_manager *dm,
>
> if (connector_type == DRM_MODE_CONNECTOR_HDMIA) {
> /* Content Type is currently only implemented for HDMI. */
> - drm_connector_attach_content_type_property(&aconnector->base);
> + if (drm_connector_attach_content_type_property(&aconnector->base))
> + drm_err(adev_to_drm(adev), "Failed to attach content type property\n");
> }
>
> if (connector_type == DRM_MODE_CONNECTOR_HDMIA) {
[Severity: High]
This problem wasn't introduced by this patch, but can
amdgpu_dm_connector_init_helper() reinitialize active delayed work in
dm->hdmi_frl_status_polling_work [1]?
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c:amdgpu_dm_connector_init_helper() {
...
dm->hdmi_frl_status_polling_delay_ms = 200;
INIT_DELAYED_WORK(&dm->hdmi_frl_status_polling_work, hdmi_frl_status_polling_work);
...
}
amdgpu_dm_connector_init_helper() runs for every connector, including
DisplayPort MST connectors created at runtime by dm_dp_add_mst_connector().
While an HDMI FRL stream is active, dm->hdmi_frl_status_polling_work rearms
itself every 200ms, so hotplugging an MST connector while that work is
armed reinitializes an active timer and corrupts the timer wheel.
[1] https://sashiko.dev/#/bug/linux-bb56a34e-fe01-46fd-8aea-d7d3688e24ce
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126081602.2901498-1-a.kazinsky@ideco.ru?part=3
next prev parent reply other threads:[~2026-11-27 8:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 8:15 [PATCH 0/5] drm/connector: Handle connector property allocation failures Alex Kazinsky
2026-11-26 8:15 ` [PATCH 3/5] drm/connector: Propagate content type property creation errors Alex Kazinsky
2026-11-26 15:46 ` Albert Esteve
2026-11-27 8:38 ` sashiko-bot [this message]
2026-11-26 8:15 ` [PATCH 4/5] drm/connector: Handle scaling mode property allocation failures Alex Kazinsky
2026-11-27 8:39 ` 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=sashiko-outbox-236888@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=a.kazinsky@ideco.ru \
--cc=amd-gfx@lists.freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox