[Beignet] [PATCH 2/2] Enable Coffee Lake support

2018-01-23 Thread Mark Thompson
We don't need to do much here because the graphics core is the same as Kaby Lake. --- Tested on an 8700. All behaviour is identical to Kaby Lake, so we can reuse most things after adding the PCI ID and device structure. There will be more PCI IDs, but I've only added the one I know the meaning o

[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