[PATCH i-g-t 0/4] Device scan fixes

Peter Senna Tschudin peter.senna at linux.intel.com
Wed Dec 18 08:16:48 UTC 2024



On 18.12.2024 06:13, Lucas De Marchi wrote:
> This started with the goal of fixing xe_wedged (besides the fix to the
> kernel that is in flight), however the issue of device "disappearing
> from bus" looks similar to several other issues we occasionally have -
> it may be the same issue. Try to fix it by forcing scans.

Is the hypothesis that while an IGT test is running something may
break the association between GPU and device node? I am asking because
the drm device is always closed after a test ends.

I tested this by printing the value of _opened_fds_count from
lib/drmtest.c before each test, and the value is always 0.

_opened_fds_count being zero means that the cache is empty, right? So
if the cache is empty before each test starts, under which conditions
can the potential problem manifest?


More information about the igt-dev mailing list