[PATCH i-g-t 02/14] tests/intel/xe_oa: Add first tests

Dixit, Ashutosh ashutosh.dixit at intel.com
Mon Jul 1 16:53:18 UTC 2024


On Sun, 30 Jun 2024 19:52:57 -0700, Ashutosh Dixit wrote:
>
> Add "xe-ref-count" and "sysctl-defaults" subtests.
>
> v2: Set INTEL_XE_DEVICE_MAX_SUBSLICES to 64 (value on PVC)
>
> Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
> ---
>  lib/xe/xe_oa.h      |   2 +-
>  tests/intel/xe_oa.c | 805 ++++++++++++++++++++++++++++++++++++++++++++
>  tests/meson.build   |   2 +
>  3 files changed, 808 insertions(+), 1 deletion(-)
>  create mode 100644 tests/intel/xe_oa.c
>
> diff --git a/lib/xe/xe_oa.h b/lib/xe/xe_oa.h
> index f6f2768b00..27ebb4b217 100644
> --- a/lib/xe/xe_oa.h
> +++ b/lib/xe/xe_oa.h
> @@ -19,7 +19,7 @@ extern "C" {
>  #define _DIV_ROUND_UP(a, b)  (((a) + (b) - 1) / (b))
>
>  #define INTEL_XE_DEVICE_MAX_SLICES           (8)
> -#define INTEL_XE_DEVICE_MAX_SUBSLICES        (32)
> +#define INTEL_XE_DEVICE_MAX_SUBSLICES        (64) /* Maximum on XE_PVC */

I will move this line to the previous patch: "lib/xe/oa: Add PVC support",
it should be there.


More information about the igt-dev mailing list