Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
To: intel-xe@lists.freedesktop.org, lucas.demarchi@intel.com
Subject: [PATCH 0/2] Capture per client stats when destroying an exec queue
Date: Wed, 26 Jun 2024 00:58:10 +0800	[thread overview]
Message-ID: <20240625165812.58411-1-umesh.nerlige.ramappa@intel.com> (raw)

From: root <root@xpumcyp04.jf.intel.com>

Some utilization stats may be lost if the user did not query the stats
prior to destorying the queue. Fix that use case

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

Umesh Nerlige Ramappa (2):
  drm/xe: Use a helper to get delta run ticks from the exec queue
  drm/xe: Record utilization before destroying the exec queue

 drivers/gpu/drm/xe/xe_drm_client.c       |  7 ++----
 drivers/gpu/drm/xe/xe_exec_queue.c       | 29 ++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_exec_queue.h       |  1 +
 drivers/gpu/drm/xe/xe_exec_queue_types.h |  2 ++
 4 files changed, 34 insertions(+), 5 deletions(-)

-- 
2.34.1


             reply	other threads:[~2024-06-25 16:58 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-25 16:58 Umesh Nerlige Ramappa [this message]
2024-06-25 16:58 ` [PATCH 1/2] drm/xe: Use a helper to get delta run ticks from the exec queue Umesh Nerlige Ramappa
2024-06-25 17:13   ` Matthew Brost
2024-06-25 16:58 ` [PATCH 2/2] drm/xe: Record utilization before destroying " Umesh Nerlige Ramappa
2024-06-25 17:24   ` Matthew Brost
2024-06-25 17:41     ` Matthew Brost
2024-06-26  3:21       ` Umesh Nerlige Ramappa
2024-06-27  6:01         ` Matthew Brost
2024-06-27 20:58           ` Lucas De Marchi
2024-06-29  0:47             ` Matthew Brost
2024-06-27 20:45       ` Lucas De Marchi
2024-06-25 17:03 ` ✓ CI.Patch_applied: success for Capture per client stats when destroying an " Patchwork
2024-06-25 17:03 ` ✗ CI.checkpatch: warning " Patchwork
2024-06-25 17:04 ` ✓ CI.KUnit: success " Patchwork
2024-06-25 17:16 ` ✓ CI.Build: " Patchwork
2024-06-25 17:18 ` ✗ CI.Hooks: failure " Patchwork
2024-06-25 17:20 ` ✓ CI.checksparse: success " Patchwork
2024-06-25 17:49 ` ✗ CI.BAT: failure " Patchwork
2024-06-25 21:06 ` ✗ CI.FULL: " 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=20240625165812.58411-1-umesh.nerlige.ramappa@intel.com \
    --to=umesh.nerlige.ramappa@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=lucas.demarchi@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