All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Eren Özen" <erenozen@protonmail.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 1/3] drm/amd/display: Initialize FRL status polling work once at DM init
Date: Tue, 10 Nov 2026 04:35:38 +0000	[thread overview]
Message-ID: <sashiko-outbox-206215@kernel.org> (raw)
In-Reply-To: <20261110-frl-polling-wq-teardown-v1-1-0ff028d5c35b@protonmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/amd/display: Fixes trailer cites 5c9b8b27a883 instead of
  0e967e086e75
--

commit 3f93b63ddceded95cea3ea6ed4bbadf253534d70
Author: Eren Özen <erenozen@protonmail.com>

> drm/amd/display: Initialize FRL status polling work once at DM init
>
> hdmi_frl_status_polling_work is a single delayed work item shared by the
> whole display manager, but it is initialized from
> amdgpu_dm_connector_init_helper(), which runs once for every connector.
> That helper is also called at runtime from dm_dp_add_mst_connector()
> when a DisplayPort MST branch device is plugged in. If an HDMI FRL
> stream is active at that moment, the polling work is queued and
> re-arming itself every 200ms, and INIT_DELAYED_WORK() on it
> reinitializes the timer and work entry of a pending item, which can
> corrupt the timer and workqueue state.
>
> The work item belongs to the display manager, not to a connector, so
> initialize it, along with its polling delay, once in amdgpu_dm_init()
> next to the workqueue it runs on.
>
> Fixes: 5c9b8b27a883 ("drm/amd/display: Tie FRL support into amdgpu_dm")
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Eren Özen <erenozen@protonmail.com>

[Severity: Low]
5c9b8b27a883 ("drm/amd/display: Tie FRL support into amdgpu_dm") originally
initialized hdmi_frl_status_polling_delay_ms and hdmi_frl_status_polling_work
once inside amdgpu_dm_init(), and 0e967e086e75 ("drm/amd/display: Extract
connector and encoder code to amdgpu_dm_connector") moved those two lines into
amdgpu_dm_connector_init_helper().  Should the Fixes: tag reference that
commit instead?

  Fixes: 0e967e086e75 ("drm/amd/display: Extract connector and encoder code to amdgpu_dm_connector")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261110-frl-polling-wq-teardown-v1-0-0ff028d5c35b@protonmail.com?part=1

  reply	other threads:[~2026-11-10  4:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-10  4:21 [PATCH 0/3] drm/amd/display: Fix FRL status polling work lifetime Eren Özen via B4 Relay
2026-11-10  4:21 ` Eren Özen
2026-11-10  4:21 ` [PATCH 1/3] drm/amd/display: Initialize FRL status polling work once at DM init Eren Özen via B4 Relay
2026-11-10  4:21   ` Eren Özen
2026-11-10  4:35   ` sashiko-bot [this message]
2026-11-10 13:53     ` Eren Özen
2026-11-10  4:21 ` [PATCH 2/3] drm/amd/display: Destroy FRL status polling workqueue in amdgpu_dm_fini() Eren Özen via B4 Relay
2026-11-10  4:21   ` Eren Özen
2026-11-10  4:21 ` [PATCH 3/3] drm/amd/display: Don't queue FRL status polling on a NULL workqueue Eren Özen via B4 Relay
2026-11-10  4:21   ` Eren Özen

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-206215@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=erenozen@protonmail.com \
    --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 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.