From: Shekhar Chauhan <shekhar.chauhan@intel.com>
To: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
Cc: <igt-dev@lists.freedesktop.org>
Subject: Re: [PATCH] tools/xe-perf-recorder: Add mmio-trigger support
Date: Thu, 2 Jul 2026 10:54:39 +0530 [thread overview]
Message-ID: <e91e3d44-645d-4704-a7f2-c510390d6f3a@intel.com> (raw)
In-Reply-To: <87bjctj9qy.wl-ashutosh.dixit@intel.com>
On 6/30/2026 3:21, Dixit, Ashutosh wrote:
> On Thu, 18 Jun 2026 22:02:17 -0700, Shekhar Chauhan wrote:
>> Add mmio-trigger support to xe-perf-recorder, to justify the
>> whitelisting of OA MMIO Trigger Registers in XeKMD.
> We can't have these compile warnings:
>
> $ ninja -C build
> ninja: Entering directory `build'
> [4/952] Compiling C object tools/xe-perf/xe-perf-recorder.p/xe_perf_recorder.c.o
> ../tools/xe-perf/xe_perf_recorder.c:41:9: warning: ‘ALIGN’ redefined
> 41 | #define ALIGN(v, a) (((v) + (a)-1) & ~((a)-1))
> | ^~~~~
> In file included from ../lib/intel_batchbuffer.h:10,
> from ../tools/xe-perf/xe_perf_recorder.c:30:
> ../lib/drmtest.h:100:9: note: this is the location of the previous definition
> 100 | #define ALIGN(v, a) ALIGN_MASK(v, (typeof(v))(a) - 1)
> | ^~~~~
> ../tools/xe-perf/xe_perf_recorder.c:42:9: warning: ‘ARRAY_SIZE’ redefined
> 42 | #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof((arr)[0]))
> | ^~~~~~~~~~
> ../lib/drmtest.h:91:9: note: this is the location of the previous definition
> 91 | #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0]))
> | ^~~~~~~~~~
Fixed in the new revision.
-shekhar
>> Signed-off-by: Shekhar Chauhan <shekhar.chauhan@intel.com>
--
Shekhar Chauhan
Linux Graphics Software Engineer
Intel Corporation
next prev parent reply other threads:[~2026-07-02 5:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-19 5:02 [PATCH] tools/xe-perf-recorder: Add mmio-trigger support Shekhar Chauhan
2026-06-19 6:19 ` ✓ i915.CI.BAT: success for " Patchwork
2026-06-19 6:20 ` ✓ Xe.CI.BAT: " Patchwork
2026-06-19 8:08 ` ✓ Xe.CI.FULL: " Patchwork
2026-06-20 7:10 ` ✗ i915.CI.Full: failure " Patchwork
2026-06-29 21:51 ` [PATCH] " Dixit, Ashutosh
2026-07-02 5:24 ` Shekhar Chauhan [this message]
2026-06-30 1:50 ` Dixit, Ashutosh
2026-07-02 5:29 ` Shekhar Chauhan
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=e91e3d44-645d-4704-a7f2-c510390d6f3a@intel.com \
--to=shekhar.chauhan@intel.com \
--cc=ashutosh.dixit@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/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