[PATCH i-g-t v2 1/4] tests/intel/xe_oa: Fix report dumps in sanity check

Dixit, Ashutosh ashutosh.dixit at intel.com
Tue Aug 26 23:49:28 UTC 2025


On Tue, 26 Aug 2025 15:42:58 -0700, Umesh Nerlige Ramappa wrote:
>
> Fix report dumps in sanity check to dump the right amount of dwords.
>
> v2: Fix double dump on Xe2 separately (Ashutosh)

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

>
> Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
> ---
>  tests/intel/xe_oa.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/intel/xe_oa.c b/tests/intel/xe_oa.c
> index c7952c46dc3d..f81e95dcd8d6 100644
> --- a/tests/intel/xe_oa.c
> +++ b/tests/intel/xe_oa.c
> @@ -1052,8 +1052,8 @@ static void pec_sanity_check_reports(const u32 *report0, const u32 *report1,
>		return;
>	}
>
> -	dump_report(report0, set->perf_raw_size, "pec_report0");
> -	dump_report(report1, set->perf_raw_size, "pec_report1");
> +	dump_report(report0, set->perf_raw_size / 4, "pec_report0");
> +	dump_report(report1, set->perf_raw_size / 4, "pec_report1");
>
>	pec_sanity_check(report0, report1, set);
>  }
> --
> 2.43.0
>


More information about the igt-dev mailing list