Skip to content

Fixes for MI_REPORT_PERF_COUNT

Umesh Nerlige Ramappa intel-xe 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 8 repliesIn review
  2. v42 patches 4 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v5 from the cover letter

- minor review rework/fixes

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xe/oa: Fix query mode of operation for OAR/OACdrivers/gpu/drm/xe/xe_oa.c drivers/gpu/drm/xe/xe_ring_ops.c drivers/gpu/drm/xe/xe_sched_job_types.h+51 -924 replies
2/2xe/oa: Drop the unused logic to parse context imagedrivers/gpu/drm/xe/xe_oa.c drivers/gpu/drm/xe/xe_oa_types.h+0 -911 reply

Reviews trailers per patch

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

PatchAshutosh DixitMatthew BrostJonathan Cavitt
1/2R-b R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 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
v3:
- review rework
- original patches squashed for porting to stable
- code cleanup

v4:
- review rework/fixes

v5:
- minor review rework/fixes

Umesh Nerlige Ramappa (2):
xe/oa: Fix query mode of operation for OAR/OAC xe/oa: Drop the unused logic to parse context image

 drivers/gpu/drm/xe/xe_oa.c              | 224 +++++-------------------
 drivers/gpu/drm/xe/xe_oa_types.h        |   3 -
 drivers/gpu/drm/xe/xe_ring_ops.c        |   5 +-
 drivers/gpu/drm/xe/xe_sched_job_types.h |   2 +
 4 files changed, 51 insertions(+), 183 deletions(-)
Signature · 1 line
2.34.1