Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH RFC 0/2] add sysfs node at subtest results when available
@ 2022-09-28  8:58 Mauro Carvalho Chehab
  2022-09-28  8:58 ` [igt-dev] [PATCH RFC 1/2] lib/igt_core: add a logic to store a GPU string Mauro Carvalho Chehab
  2022-09-28  8:58 ` [igt-dev] [PATCH RFC 2/2] lib/igt_core: print card sysfs node at subtest results Mauro Carvalho Chehab
  0 siblings, 2 replies; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2022-09-28  8:58 UTC (permalink / raw)
  To: igt-dev

From: Mauro Carvalho Chehab <mchehab@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-29 12:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-28  8:58 [igt-dev] [PATCH RFC 0/2] add sysfs node at subtest results when available Mauro Carvalho Chehab
2022-09-28  8:58 ` [igt-dev] [PATCH RFC 1/2] lib/igt_core: add a logic to store a GPU string Mauro Carvalho Chehab
2022-09-28  8:58 ` [igt-dev] [PATCH RFC 2/2] lib/igt_core: print card sysfs node at subtest results Mauro Carvalho Chehab
     [not found]   ` <YzQXFRYCk8Alj4zR@platvala-desk.ger.corp.intel.com>
     [not found]     ` <YzR1ypRVkKtVXt22@kamilkon-desk1>
2022-09-29  8:21       ` Mauro Carvalho Chehab
     [not found]         ` <YzVuHIriXmCIbiVT@platvala-desk.ger.corp.intel.com>
2022-09-29 12:56           ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox