Skip to content

RFC add sysfs node at subtest results when available

Mauro Carvalho Chehab igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/igt_core: add a logic to store a GPU stringlib/drmtest.c lib/igt_core.c lib/igt_core.h+33 -10 replies
2/2lib/igt_core: print card sysfs node at subtest resultslib/igt_core.c+3 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Mauro Carvalho Chehab <[email protected]>

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(-)
Signature · 1 line
2.37.3