[PATCH i-g-t] tests/intel/xe_multi_tile: Multi-Tile support in IGT
Kamil Konieczny
kamil.konieczny at linux.intel.com
Mon Feb 17 14:20:27 UTC 2025
Hi nishit.sharma,
On 2025-02-15 at 01:11:55 +0000, nishit.sharma at intel.com wrote:
> From: Nishit Sharma <nishit.sharma at intel.com>
only few nits, first please keep description to 65 columns
(or max 80).
>
> Added functionality to check Multi-Tile available in system or not. Belonging to each Tile%d
> GT%d gathered. Checked GT%d belongs to which tile%d in multi-tile/single-tile platforms.
> Added functionality to check if any tile%d not provided by driver or missed.
> E.g.tile available in platforms in order tile0, tile1...tileX in serial order, If
> tile1 tile2 tile4...tileX populated than will get Warning tile3 not available.
>
> Signed-off-by: Nishit Sharma <nishit.sharma at intel.com>
> ---
> include/drm-uapi/xe_drm.h | 169 ++++++++++++--
Change for drm-uapi should go in separate patch, see git log.
> lib/igt_sysfs.c | 3 +-
> lib/xe/xe_query.h | 50 ++++-
> tests/intel/xe_multi_tile.c | 432 ++++++++++++++++++++++++++++++++++++
> tests/meson.build | 1 +
> 5 files changed, 620 insertions(+), 35 deletions(-)
> create mode 100644 tests/intel/xe_multi_tile.c
>
> diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h
> index 56163eb91..8b0869ce2 100644
> --- a/include/drm-uapi/xe_drm.h
> +++ b/include/drm-uapi/xe_drm.h
> @@ -3,8 +3,8 @@
> * Copyright © 2023 Intel Corporation
> */
>
> -#ifndef _XE_DRM_H_
> -#define _XE_DRM_H_
> +#ifndef _UAPI_XE_DRM_H_
> +#define _UAPI_XE_DRM_H_
This shouldn't change, see README.md about how to bring uapi
changes into igt.
Regards,
Kamil
>
> #include "drm.h"
>
> @@ -118,6 +118,12 @@ extern "C" {
> #define DRM_IOCTL_XE_WAIT_USER_FENCE DRM_IOWR(DRM_COMMAND_BASE + DRM_XE_WAIT_USER_FENCE, struct drm_xe_wait_user_fence)
> #define DRM_IOCTL_XE_OBSERVATION DRM_IOW(DRM_COMMAND_BASE + DRM_XE_OBSERVATION, struct drm_xe_observation_param)
>
[...cut...]
More information about the igt-dev
mailing list