Since the original poster of the github PR did not open a bug as requested on github, I'm doing it. https://github.com/gentoo/gentoo/pull/1934 From upstream VCS: intel: Fix fd (and mem) leak when intel_scrn_create fails The probe functions in intel_module.c call intel_open_device() before calling intel_scrn_create(), but if the later fails because of e.g. an allocation failure they were not cleaning up the resources claimed by intel_open_device(), esp. leaking the fd is a problem because this breaks the fallback to the modesetting driver. This commit fixes this by adding a intel_close_device() cleanup function and calling that when intel_scrn_create() fails. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Thanks, I moved to a more recent target. commit 41917279f40f1d2e8cf9af80854e26717503ec07 Author: Manuel Rüger <mrueg@gentoo.org> Date: Sat Aug 6 15:59:12 2016 +0200 x11-drivers/xf86-video-intel: Update snapshot Package-Manager: portage-2.3.0