[igt-dev] [PATCH RFC 0/2] add sysfs node at subtest results when available

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Wed Sep 28 08:58:40 UTC 2022


From: Mauro Carvalho Chehab <mchehab at kernel.org>

IGT already supports opening more than one GPU and filtering them. However,
on machines with more than one CPU, it is hard to identify what was the
one that had an IGT test report results.

In order to minimize that, store the sysfs name of the opened devnode,
as it contains the bus address of the device and the card number, which
should be unique inside a machine.

Mauro Carvalho Chehab (2):
  lib/igt_core: add a logic to store a GPU string
  lib/igt_core: print card sysfs node at subtest results

 lib/drmtest.c  |  4 +++-
 lib/igt_core.c | 27 +++++++++++++++++++++++++++
 lib/igt_core.h |  6 ++++++
 3 files changed, 36 insertions(+), 1 deletion(-)

-- 
2.37.3



More information about the igt-dev mailing list