From: Jani Nikula <jani.nikula@intel.com>
To: Rahul Rameshbabu <sergeantsagara@protonmail.com>,
intel-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org,
Rahul Rameshbabu <sergeantsagara@protonmail.com>
Subject: Re: [Intel-gfx] [PATCH v2] drm/i915/irq: Improve error logging for unexpected DE Misc interrupts
Date: Tue, 28 Nov 2023 14:31:07 +0200 [thread overview]
Message-ID: <87plzu6ovo.fsf@intel.com> (raw)
In-Reply-To: <20231126214142.102106-1-sergeantsagara@protonmail.com>
On Sun, 26 Nov 2023, Rahul Rameshbabu <sergeantsagara@protonmail.com> wrote:
> Dump the iir value in hex when the interrupt is unexpected.
>
> Link: https://gitlab.freedesktop.org/drm/intel/-/issues/9652#note_2178501
> Cc: Jani Nikula <jani.nikula@intel.com>
> Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com>
> Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Pushed to drm-intel-next. Thanks for the patch and review.
BR,
Jani.
> ---
>
> Notes:
> Changes:
>
> v1->v2:
> - Change format specifier to pad minimum width
> - https://lore.kernel.org/intel-gfx/20231123175638.27650-1-sergeantsagara@protonmail.com/
>
> drivers/gpu/drm/i915/display/intel_display_irq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display_irq.c b/drivers/gpu/drm/i915/display/intel_display_irq.c
> index bff4a76310c0..7c6f20cd951e 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_irq.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_irq.c
> @@ -896,7 +896,7 @@ gen8_de_misc_irq_handler(struct drm_i915_private *dev_priv, u32 iir)
> }
>
> if (!found)
> - drm_err(&dev_priv->drm, "Unexpected DE Misc interrupt\n");
> + drm_err(&dev_priv->drm, "Unexpected DE Misc interrupt: 0x%08x\n", iir);
> }
>
> static void gen11_dsi_te_interrupt_handler(struct drm_i915_private *dev_priv,
--
Jani Nikula, Intel
prev parent reply other threads:[~2023-11-28 12:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-26 21:42 [Intel-gfx] [PATCH v2] drm/i915/irq: Improve error logging for unexpected DE Misc interrupts Rahul Rameshbabu
2023-11-27 12:19 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/irq: Improve error logging for unexpected DE Misc interrupts (rev2) Patchwork
2023-11-27 12:37 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-11-28 2:36 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2023-11-28 12:31 ` Jani Nikula [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=87plzu6ovo.fsf@intel.com \
--to=jani.nikula@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=sergeantsagara@protonmail.com \
/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