Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH v4 0/2] Avoid reading OA reports before they land
Date: Mon,  5 Jun 2023 12:39:21 -0700	[thread overview]
Message-ID: <20230605193923.1836048-1-umesh.nerlige.ramappa@intel.com> (raw)

Fix OA issue seen on DG2 where parts of OA reports are zeroed out or
have stale values. This was due to the fact that rewind logic was not
being run when the tail pointer was aged. The series drops the complex
aging/aged logic and just checks the reports for validity.

rev1 - https://patchwork.freedesktop.org/series/118054/
v2: Drop aging logic completely
v3: Remove unnecessary renames and squash patches
v4: Indentaion fixes

Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>

Umesh Nerlige Ramappa (2):
  i915/perf: Drop the aging_tail logic in perf OA
  i915/perf: Do not add ggtt offset to hw_tail

 drivers/gpu/drm/i915/i915_perf.c       | 92 ++++++++++----------------
 drivers/gpu/drm/i915/i915_perf_types.h | 12 ----
 2 files changed, 36 insertions(+), 68 deletions(-)

-- 
2.36.1


             reply	other threads:[~2023-06-05 19:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-05 19:39 Umesh Nerlige Ramappa [this message]
2023-06-05 19:39 ` [Intel-gfx] [PATCH v4 1/2] i915/perf: Drop the aging_tail logic in perf OA Umesh Nerlige Ramappa
2023-06-05 19:39 ` [Intel-gfx] [PATCH v4 2/2] i915/perf: Do not add ggtt offset to hw_tail Umesh Nerlige Ramappa
2023-06-05 23:25 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Avoid reading OA reports before they land Patchwork
2023-06-05 23:44 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-06-07 19:25   ` Umesh Nerlige Ramappa
2023-06-07  1:30 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Avoid reading OA reports before they land (rev2) Patchwork
2023-06-07  1:46 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-06-07 17:40 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2023-06-07 19:44   ` Umesh Nerlige Ramappa

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=20230605193923.1836048-1-umesh.nerlige.ramappa@intel.com \
    --to=umesh.nerlige.ramappa@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /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