From: "Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
<intel-gfx@lists.freedesktop.org>
Cc: <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH v2 8/8] drm/i915/dsb: Decode DSB error interrupts
Date: Tue, 11 Feb 2025 14:24:10 +0530 [thread overview]
Message-ID: <82199e99-7be5-4d4f-aaa5-2797ad66e849@intel.com> (raw)
In-Reply-To: <20250207223159.14132-9-ville.syrjala@linux.intel.com>
On 2/8/2025 4:01 AM, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Decode the DSB error interrupts into human readable
> form for easier debugging.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_dsb.c | 15 ++++++++++++---
> 1 file changed, 12 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dsb.c b/drivers/gpu/drm/i915/display/intel_dsb.c
> index aba57ddfbb92..db69b1c676f7 100644
> --- a/drivers/gpu/drm/i915/display/intel_dsb.c
> +++ b/drivers/gpu/drm/i915/display/intel_dsb.c
> @@ -860,7 +860,16 @@ void intel_dsb_irq_handler(struct intel_display *display,
> }
>
> errors = tmp & dsb_error_int_status(display);
> - if (errors)
> - drm_err(display->drm, "[CRTC:%d:%s] DSB %d error interrupt: 0x%x\n",
> - crtc->base.base.id, crtc->base.name, dsb_id, errors);
> + if (errors & DSB_ATS_FAULT_INT_STATUS)
> + drm_err(display->drm, "[CRTC:%d:%s] DSB %d ATS fault\n",
> + crtc->base.base.id, crtc->base.name, dsb_id);
> + if (errors & DSB_GTT_FAULT_INT_STATUS)
> + drm_err(display->drm, "[CRTC:%d:%s] DSB %d GTT fault\n",
> + crtc->base.base.id, crtc->base.name, dsb_id);
> + if (errors & DSB_RSPTIMEOUT_INT_STATUS)
> + drm_err(display->drm, "[CRTC:%d:%s] DSB %d response timeout\n",
> + crtc->base.base.id, crtc->base.name, dsb_id);
> + if (errors & DSB_POLL_ERR_INT_STATUS)
> + drm_err(display->drm, "[CRTC:%d:%s] DSB %d poll error\n",
> + crtc->base.base.id, crtc->base.name, dsb_id);
> }
next prev parent reply other threads:[~2025-02-11 8:54 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-07 22:31 [PATCH v2 0/8] drm/i915/vrr: Fix DSB+VRR usage for PTL+ Ville Syrjala
2025-02-07 22:31 ` [PATCH v2 1/8] drm/i915/dsb: Move the +1 usec adjustment into dsb_wait_usec() Ville Syrjala
2025-02-11 8:58 ` Nautiyal, Ankit K
2025-02-07 22:31 ` [PATCH v2 2/8] drm/i915/vrr: Don't send push for legacy cursor updates Ville Syrjala
2025-02-11 9:01 ` Nautiyal, Ankit K
2025-02-07 22:31 ` [PATCH v2 3/8] drm/i915/vrr: Account for TRANS_PUSH delay Ville Syrjala
2025-02-11 9:03 ` Nautiyal, Ankit K
2025-02-07 22:31 ` [PATCH v2 4/8] drm/i915/dsb: Compute use_dsb earlier Ville Syrjala
2025-02-11 9:39 ` Nautiyal, Ankit K
2025-02-07 22:31 ` [PATCH v2 5/8] drm/i915/dsb: Introduce intel_dsb_poll() Ville Syrjala
2025-02-07 22:31 ` [PATCH v2 6/8] drm/i915/vrr: Reorder the DSB "wait for safe window" vs. TRANS_PUSH Ville Syrjala
2025-02-07 22:31 ` [PATCH v2 7/8] drm/i915/vrr: Check that the push send bit is clear after delayed vblank Ville Syrjala
2025-02-10 16:07 ` [PATCH v3 " Ville Syrjala
2025-02-11 7:08 ` Nautiyal, Ankit K
2025-02-11 17:38 ` Ville Syrjälä
2025-02-12 13:09 ` Nautiyal, Ankit K
2025-02-12 13:23 ` Nautiyal, Ankit K
2025-02-12 16:45 ` Ville Syrjälä
2025-02-07 22:31 ` [PATCH v2 8/8] drm/i915/dsb: Decode DSB error interrupts Ville Syrjala
2025-02-11 8:54 ` Nautiyal, Ankit K [this message]
2025-02-08 1:19 ` ✓ CI.Patch_applied: success for drm/i915/vrr: Fix DSB+VRR usage for PTL+ (rev2) Patchwork
2025-02-08 1:19 ` ✓ CI.checkpatch: " Patchwork
2025-02-08 1:20 ` ✓ CI.KUnit: " Patchwork
2025-02-08 1:37 ` ✓ CI.Build: " Patchwork
2025-02-08 1:39 ` ✓ CI.Hooks: " Patchwork
2025-02-08 1:41 ` ✗ CI.checksparse: warning " Patchwork
2025-02-08 2:00 ` ✓ Xe.CI.BAT: success " Patchwork
2025-02-08 20:19 ` ✗ Xe.CI.Full: failure " Patchwork
2025-02-10 16:17 ` ✓ CI.Patch_applied: success for drm/i915/vrr: Fix DSB+VRR usage for PTL+ (rev3) Patchwork
2025-02-10 16:18 ` ✗ CI.checkpatch: warning " Patchwork
2025-02-10 16:19 ` ✓ CI.KUnit: success " Patchwork
2025-02-10 16:35 ` ✓ CI.Build: " Patchwork
2025-02-10 16:38 ` ✓ CI.Hooks: " Patchwork
2025-02-10 16:39 ` ✗ CI.checksparse: warning " Patchwork
2025-02-11 6:30 ` ✓ Xe.CI.BAT: success " Patchwork
2025-02-12 9:49 ` ✗ Xe.CI.Full: failure " Patchwork
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=82199e99-7be5-4d4f-aaa5-2797ad66e849@intel.com \
--to=ankit.k.nautiyal@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=ville.syrjala@linux.intel.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