[Intel-xe] [PATCH v3] fixup! drm/xe/pmu: Drop interrupt pmu event
Riana Tauro
riana.tauro at intel.com
Tue Nov 21 08:47:31 UTC 2023
Interrupt pmu event was dropped in a previous patch
and the configs for the rest of the events were changed
in uapi header.
Change the configs in pmu file too.
v2: change to fixup patch
v3: rebase
Cc: Aravind Iddamsetty <aravind.iddamsetty at linux.intel.com>
Signed-off-by: Riana Tauro <riana.tauro at intel.com>
Reviewed-by: Aravind Iddamsetty <aravind.iddamsetty at linux.intel.com>
---
drivers/gpu/drm/xe/xe_pmu.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_pmu.c b/drivers/gpu/drm/xe/xe_pmu.c
index b4c69046d90d..6dd5c97129f2 100644
--- a/drivers/gpu/drm/xe/xe_pmu.c
+++ b/drivers/gpu/drm/xe/xe_pmu.c
@@ -353,10 +353,10 @@ create_event_attributes(struct xe_pmu *pmu)
const char *unit;
bool global;
} events[] = {
- __event(1, "render-group-busy", "ns"),
- __event(2, "copy-group-busy", "ns"),
- __event(3, "media-group-busy", "ns"),
- __event(4, "any-engine-group-busy", "ns"),
+ __event(0, "render-group-busy", "ns"),
+ __event(1, "copy-group-busy", "ns"),
+ __event(2, "media-group-busy", "ns"),
+ __event(3, "any-engine-group-busy", "ns"),
};
struct perf_pmu_events_attr *pmu_attr = NULL, *pmu_iter;
--
2.40.0
More information about the Intel-xe
mailing list