* [PATCH v2] drm/i915/irq: Improve error logging for unexpected DE Misc interrupts
@ 2023-11-26 21:42 Rahul Rameshbabu
2023-11-28 12:31 ` [Intel-gfx] " Jani Nikula
0 siblings, 1 reply; 2+ messages in thread
From: Rahul Rameshbabu @ 2023-11-26 21:42 UTC (permalink / raw)
To: intel-gfx; +Cc: Jani Nikula, Chaitanya Kumar Borah, dri-devel, Rahul Rameshbabu
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>
---
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,
--
2.40.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Intel-gfx] [PATCH v2] drm/i915/irq: Improve error logging for unexpected DE Misc interrupts
2023-11-26 21:42 [PATCH v2] drm/i915/irq: Improve error logging for unexpected DE Misc interrupts Rahul Rameshbabu
@ 2023-11-28 12:31 ` Jani Nikula
0 siblings, 0 replies; 2+ messages in thread
From: Jani Nikula @ 2023-11-28 12:31 UTC (permalink / raw)
To: Rahul Rameshbabu, intel-gfx; +Cc: dri-devel, Rahul Rameshbabu
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-28 12:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-26 21:42 [PATCH v2] drm/i915/irq: Improve error logging for unexpected DE Misc interrupts Rahul Rameshbabu
2023-11-28 12:31 ` [Intel-gfx] " Jani Nikula
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox