[PATCH i-g-t v3 2/3] tests/intel/xe_oa: Reduce the number of mmap reports checked
Dixit, Ashutosh
ashutosh.dixit at intel.com
Mon Jan 13 19:22:05 UTC 2025
On Sun, 12 Jan 2025 22:19:48 -0800, Sai Teja Pottumuttu wrote:
>
> Currently, 20 mmap periodic reports are checked which seems unnecessary,
> reduce it to 10.
Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
>
> Signed-off-by: Sai Teja Pottumuttu <sai.teja.pottumuttu at intel.com>
> ---
> tests/intel/xe_oa.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/intel/xe_oa.c b/tests/intel/xe_oa.c
> index ad3526406..cd081ecff 100644
> --- a/tests/intel/xe_oa.c
> +++ b/tests/intel/xe_oa.c
> @@ -4378,7 +4378,7 @@ static void check_reports(void *oa_vaddr, uint32_t oa_size,
> uint32_t timer_reports = 0;
>
> for (reports = (uint32_t *)oa_vaddr;
> - timer_reports < 20 && reports[0] && oa_timestamp(reports, fmt);
> + timer_reports < 10 && reports[0] && oa_timestamp(reports, fmt);
> reports += report_words) {
> if (!oa_report_is_periodic(reports))
> continue;
> --
> 2.34.1
>
More information about the igt-dev
mailing list