[PATCH i-g-t] tests/intel/xe_exec_fault_mode: Print engine name on error
Randhawa, Jagmeet
jagmeet.randhawa at intel.com
Thu Aug 22 17:35:20 UTC 2024
On 8/22/2024 9:26 AM, Nirmoy Das wrote:
> Print engine name the test is running on to help with debugging.
>
> Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1461
> Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
Reviewed-by: Jagmeet Randhawa <jagmeet.randhawa at intel.com>
> ---
> tests/intel/xe_exec_fault_mode.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/intel/xe_exec_fault_mode.c b/tests/intel/xe_exec_fault_mode.c
> index 87375ed17..1f1f1e50b 100644
> --- a/tests/intel/xe_exec_fault_mode.c
> +++ b/tests/intel/xe_exec_fault_mode.c
> @@ -140,6 +140,7 @@ test_exec(int fd, struct drm_xe_engine_class_instance *eci,
> int i, j, b;
> int map_fd = -1;
>
> + igt_debug("%s running on: %s\n", __func__, xe_engine_class_string(eci->engine_class));
> igt_assert_lte(n_exec_queues, MAX_N_EXEC_QUEUES);
>
> if (flags & ENABLE_SCRATCH)
More information about the igt-dev
mailing list