[PATCH 0/2] Capture per client stats when destroying an exec queue

Umesh Nerlige Ramappa umesh.nerlige.ramappa at intel.com
Tue Jun 25 16:58:10 UTC 2024


From: root <root at 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 at 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



More information about the Intel-xe mailing list