Re: [PATCH i-g-t 5/5] tests/intel/xe_pat: Validate XA App Transient feature

Kamil Konieczny
2026-02-18T11:09:45Z

Hi priyanka.dandamudi,
On 2026-02-13 at 14:16:03 +0530, priyanka.dandamudi@intel.com wrote:
> From: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
>
> Test the scenarios when media is on/off.
> When media is off/on, for xa app transient buffer, data should be coherent
> between cpu and gpu. Coherency should be maintained from KMD side
> irrespective of media engine on/off.
>
> Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
> ---
> tests/intel/xe_pat.c | 101 +++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 101 insertions(+)
>
> diff --git a/tests/intel/xe_pat.c b/tests/intel/xe_pat.c
> index f2dff62a9..30e427634 100644
> --- a/tests/intel/xe_pat.c
> +++ b/tests/intel/xe_pat.c
> @@ -19,16 +19,24 @@
> #include "intel_blt.h"
> #include "intel_mocs.h"
> #include "intel_pat.h"
> +#include "igt_configfs.h"
> +#include "igt_device.h"
> +#include "igt_fs.h"
> +#include "igt_kmod.h"
> +#include "igt_sysfs.h"

Please keep them sorted, they should be before intel_ ones,
not here.

> #include "linux_scaffold.h"
>
> #include "xe/xe_ioctl.h"
> #include "xe/xe_query.h"
> #include "xe/xe_util.h"
> +#include "xe/xe_gt.h"

Same here, move before xe/xe_ioctl.h

Regards,
Kamil

>
> #define XE_COH_NONE 1
> #define XE_COH_AT_LEAST_1WAY 2
>
> static bool do_slow_check;
> +static char bus_addr[NAME_MAX];
> +static struct pci_device *pci_dev;

[cut]