Skip to content

Fixes for MI_REPORT_PERF_COUNT

Umesh Nerlige Ramappa intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xe: Allow a GGTT mapped batch to be submitted to user exec queuedrivers/gpu/drm/xe/xe_ring_ops.c drivers/gpu/drm/xe/xe_sched_job_types.h+6 -10 replies
2/2xe/oa: Use MI_LOAD_REGISTER_IMMEDIATE to enable OAR/OACdrivers/gpu/drm/xe/xe_oa.c+51 -202 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMatthew BrostJosé Roberto de Souza
SeriesT-b
1/2R-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fixes for MI_REPORT_PERF_COUNT

OA programming sequence for query mode or MI_REPORT_PERF_COUNT requires modifying some HW registers in the same hw context as the user exec queue. User passes the exec_queue to the OA interface and OA implementation submits an MI_LOAD_REGISTER_IMM to this queue to modify the registers.

The OA implementation submits a batch mapped in GGTT to the user exec queue and hence, some plumbing is added into relevant code to enable that (as per suggestions from Matthew Brost).

v2: review rework

Umesh Nerlige Ramappa (2):
xe: Allow a GGTT mapped batch to be submitted to user exec queue xe/oa: Use MI_LOAD_REGISTER_IMMEDIATE to enable OAR/OAC

 drivers/gpu/drm/xe/xe_oa.c              | 71 ++++++++++++++++++-------
 drivers/gpu/drm/xe/xe_ring_ops.c        |  5 +-
 drivers/gpu/drm/xe/xe_sched_job_types.h |  2 +
 3 files changed, 57 insertions(+), 21 deletions(-)
Signature · 1 line
2.34.1