[igt-dev] [PATCH i-g-t] lib: Check if device is not wedged while opening fd

Katarzyna Dec katarzyna.dec at intel.com
Tue Feb 18 13:35:21 UTC 2020


On Tue, Feb 18, 2020 at 12:56:50PM +0000, Chris Wilson wrote:
> Quoting Katarzyna Dec (2020-02-18 12:53:33)
> > In rare cases it is possible to use wedged device in testing,
> > what is causing to have false results. Let's abort any fd usage when
> > GPU is wedged. Use sysfs to check status to make any environment happy.
> 
> See igt_require_gem()
> -Chris

You're right! Thanks :)


More information about the igt-dev mailing list