[Intel-gfx] [PATCH 3/5] drm/i915: Dump PGTBL_ER on gen2/3/4 error interrupt
Govindapillai, Vinod
vinod.govindapillai at intel.com
Thu Feb 23 12:23:41 UTC 2023
Hi
Reviewed-by: Vinod Govindapillai <vinod.govindapillai at intel.com>
BR
Vinod
On Wed, 2023-01-25 at 20:52 +0200, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> PGTBL_ER contains the individual reasons for the page table
> error interrupt. Dump it out.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
> drivers/gpu/drm/i915/i915_irq.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
> index b45d426a5bd5..0e90c348175e 100644
> --- a/drivers/gpu/drm/i915/i915_irq.c
> +++ b/drivers/gpu/drm/i915/i915_irq.c
> @@ -3539,6 +3539,9 @@ static void i8xx_error_irq_handler(struct drm_i915_private *dev_priv,
> if (eir_stuck)
> drm_dbg(&dev_priv->drm, "EIR stuck: 0x%04x, masked\n",
> eir_stuck);
> +
> + drm_dbg(&dev_priv->drm, "PGTBL_ER: 0x%08x\n",
> + intel_uncore_read(&dev_priv->uncore, PGTBL_ER));
> }
>
> static void i9xx_error_irq_ack(struct drm_i915_private *dev_priv,
> @@ -3576,6 +3579,9 @@ static void i9xx_error_irq_handler(struct drm_i915_private *dev_priv,
> if (eir_stuck)
> drm_dbg(&dev_priv->drm, "EIR stuck: 0x%08x, masked\n",
> eir_stuck);
> +
> + drm_dbg(&dev_priv->drm, "PGTBL_ER: 0x%08x\n",
> + intel_uncore_read(&dev_priv->uncore, PGTBL_ER));
> }
>
> static irqreturn_t i8xx_irq_handler(int irq, void *arg)
More information about the Intel-gfx
mailing list