From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
To: Steffen Dirkwinkel <lists@steffen.cc>,
dri-devel@lists.freedesktop.org,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Michal Simek <michal.simek@amd.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm: xlnx: zynqmp_dpsub: fix hotplug detection
Date: Wed, 23 Oct 2024 13:47:01 +0300 [thread overview]
Message-ID: <f7fbd696-d739-457b-bebb-571b32ecc1d6@ideasonboard.com> (raw)
In-Reply-To: <20241021134115.216568-1-lists@steffen.cc>
On 21/10/2024 16:41, Steffen Dirkwinkel wrote:
> From: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>
>
> drm_kms_helper_poll_init needs to be called after zynqmp_dpsub_kms_init.
> zynqmp_dpsub_kms_init creates the connector and without it we don't
> enable hotplug detection.
>
> Signed-off-by: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>
> ---
> drivers/gpu/drm/xlnx/zynqmp_kms.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/xlnx/zynqmp_kms.c b/drivers/gpu/drm/xlnx/zynqmp_kms.c
> index bd1368df7870..311397cee5ca 100644
> --- a/drivers/gpu/drm/xlnx/zynqmp_kms.c
> +++ b/drivers/gpu/drm/xlnx/zynqmp_kms.c
> @@ -509,12 +509,12 @@ int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub)
> if (ret)
> return ret;
>
> - drm_kms_helper_poll_init(drm);
> -
> ret = zynqmp_dpsub_kms_init(dpsub);
> if (ret < 0)
> goto err_poll_fini;
>
> + drm_kms_helper_poll_init(drm);
> +
> /* Reset all components and register the DRM device. */
> drm_mode_config_reset(drm);
>
Thanks, this indeed fixes the HPD issue.
But shouldn't this have a Fixes tag, and cc stable?
Tomi
next prev parent reply other threads:[~2024-10-23 11:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-21 13:41 [PATCH] drm: xlnx: zynqmp_dpsub: fix hotplug detection Steffen Dirkwinkel
2024-10-23 10:47 ` Tomi Valkeinen [this message]
2024-10-28 13:31 ` [PATCH v2] " Steffen Dirkwinkel
2024-10-28 13:42 ` Steffen Dirkwinkel
2024-10-30 12:26 ` Tomi Valkeinen
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=f7fbd696-d739-457b-bebb-571b32ecc1d6@ideasonboard.com \
--to=tomi.valkeinen@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lists@steffen.cc \
--cc=maarten.lankhorst@linux.intel.com \
--cc=michal.simek@amd.com \
--cc=mripard@kernel.org \
--cc=s.dirkwinkel@beckhoff.com \
--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