summaryrefslogtreecommitdiff
path: root/src/cl_device_id.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-01-31 19:58:09 +0000
committerYang Rong <rong.r.yang@intel.com>2018-02-05 18:04:24 +0800
commitb70d65ba25a32a965cc122bf944ba14a1aa0a095 (patch)
treeac449b9807b8f2dd31cb70ea36b8fd23f9ae1915 /src/cl_device_id.c
parentd1b99a1da56757971753288986419f1b8b9d55f4 (diff)
downloadbeignet-b70d65ba25a32a965cc122bf944ba14a1aa0a095.tar.gz
Ensure that DRM device uses the i915 driver
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. Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'src/cl_device_id.c')
0 files changed, 0 insertions, 0 deletions