AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mario Limonciello <superm1@kernel.org>
To: "Timur Kristóf" <timur.kristof@gmail.com>,
	amd-gfx@lists.freedesktop.org, Alexander.Deucher@amd.com,
	"Natalie Vock" <natalie.vock@gmx.de>,
	"Tvrtko Ursulin" <tursulin@ursulin.net>,
	"Melissa Wen" <mwen@igalia.com>,
	harry.wentland@amd.com, "Leo Li" <sunpeng.li@amd.com>,
	"Ivan Lipski" <ivan.lipski@amd.com>,
	"Alex Hung" <alex.hung@amd.com>
Subject: Re: [PATCH 2/2] drm/amd/display: Log details when failing to register HPD IRQ
Date: Fri, 21 Aug 2026 17:02:55 -0500	[thread overview]
Message-ID: <9a929a5f-0008-4daf-9aa4-7828906ed95e@kernel.org> (raw)
In-Reply-To: <20260821215059.312868-2-timur.kristof@gmail.com>



On 8/21/26 16:50, Timur Kristóf wrote:
> This should help diagnose HPD IRQ related issues in the future.
> 
> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>

I'll get this committed to amd-staging-drm-next.

> ---
>   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 8 ++++++--
>   1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
> index 9be63996b062..d0239a3de2e1 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
> @@ -1735,7 +1735,9 @@ int amdgpu_dm_register_hpd_handlers(struct amdgpu_device *adev)
>   			if (int_params.irq_source == DC_IRQ_SOURCE_INVALID ||
>   				int_params.irq_source  < DC_IRQ_SOURCE_HPD1 ||
>   				int_params.irq_source  > DC_IRQ_SOURCE_HPD6) {
> -				drm_err(adev_to_drm(adev), "Failed to register hpd irq!\n");
> +				drm_err(adev_to_drm(adev),
> +					"Failed to register hpd irq %u for %s!\n",
> +					int_params.irq_source, connector->name);
>   				return -EINVAL;
>   			}
>   
> @@ -1753,7 +1755,9 @@ int amdgpu_dm_register_hpd_handlers(struct amdgpu_device *adev)
>   			if (int_params.irq_source == DC_IRQ_SOURCE_INVALID ||
>   				int_params.irq_source  < DC_IRQ_SOURCE_HPD1RX ||
>   				int_params.irq_source  > DC_IRQ_SOURCE_HPD6RX) {
> -				drm_err(adev_to_drm(adev), "Failed to register hpd rx irq!\n");
> +				drm_err(adev_to_drm(adev),
> +					"Failed to register hpd rx irq %u for %s!\n",
> +					int_params.irq_source, connector->name);
>   				return -EINVAL;
>   			}
>   


  reply	other threads:[~2026-08-21 22:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21 21:50 [PATCH 1/2] drm/amd/display: Fix HPD consideration for VGA/LVDS connectors on DCE Timur Kristóf
2026-08-21 21:50 ` [PATCH 2/2] drm/amd/display: Log details when failing to register HPD IRQ Timur Kristóf
2026-08-21 22:02   ` Mario Limonciello [this message]
2026-08-21 22:03 ` [PATCH 1/2] drm/amd/display: Fix HPD consideration for VGA/LVDS connectors on DCE Mario Limonciello

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=9a929a5f-0008-4daf-9aa4-7828906ed95e@kernel.org \
    --to=superm1@kernel.org \
    --cc=Alexander.Deucher@amd.com \
    --cc=alex.hung@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=ivan.lipski@amd.com \
    --cc=mwen@igalia.com \
    --cc=natalie.vock@gmx.de \
    --cc=sunpeng.li@amd.com \
    --cc=timur.kristof@gmail.com \
    --cc=tursulin@ursulin.net \
    /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