[Intel-gfx] [PATCH i-g-t] lib/igt_kms.c: Unconditionally include poll.h

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 9 10:22:46 UTC 2018


Quoting Petri Latvala (2018-01-09 10:11:24)
> Commit 98c64b33a793 ("lib/igt_kms: Drop all stale events on first
> commit.") added a use of poll() to igt_kms.c, but that file only
> includes poll.h when HAVE_UDEV is defined. Move the include outside
> the UDEV conditional.

We should probably stop making udev conditional. We rely on udev for
uevent detection, in particular for detecting GPU hangs.
-Chris


More information about the Intel-gfx mailing list