[Intel-gfx] [PATCH IGT] tests/chamelium: Close DRM file descriptor after tests
Chris Wilson
chris at chris-wilson.co.uk
Wed Jun 14 09:36:48 UTC 2017
Quoting Paul Kocialkowski (2017-06-12 16:21:45)
> On Mon, 2017-06-12 at 17:39 +0300, Paul Kocialkowski wrote:
> > This adds a call to close the DRM file descriptor. It is reauired as IGT
> > will attempt to become DRM master after running the test, resulting in a
> > failure.
>
> This should fix (at least) 3 of the failures seen on the CI machine that runs
> chamelium tests.
This would be papering over the bug in the atexit handlers if they
assume they can become drm master and worse cause a failure it they
don't. I was not aware that the core made that presumption, so more
details would be useful.
-Chris
More information about the Intel-gfx
mailing list