Re: [Beignet] [PATCH 1/2] Ensure that DRM device uses the i915 driver

2018-01-31 Thread Yang, Rong R
This patch LGTM, thanks. > -Original Message- > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of > Mark Thompson > Sent: Wednesday, January 24, 2018 6:52 AM > To: beignet@lists.freedesktop.org > Subject: [Beignet] [PATCH 1/2] Ensure that DRM de

[Beignet] [PATCH 1/2] Ensure that DRM device uses the i915 driver

2018-01-23 Thread Mark Thompson
This avoids calling random ioctl()s and returning nonsensical errors for unsupported devices. In particular, loading is much cleaner on setups where the driver needs to iterate over multiple devices to find the correct one because the Intel graphics device is not the first DRM device. --- Fixes th