compositor-drm: Ignore non-KMS devices
authorDaniel Stone <daniels@collabora.com>
Mon, 19 Dec 2016 16:48:20 +0000 (16:48 +0000)
committerDaniel Stone <daniels@collabora.com>
Mon, 27 Feb 2017 21:38:49 +0000 (21:38 +0000)
commitefa504f4eab805f7b9f07944afcac60d50fe7cac
tree0310eb086ccb4f2486d1dc94d2ae0aacf4784da7
parent7622a5acaa041a8ee514183d10b5bd33d7f9f2c3
compositor-drm: Ignore non-KMS devices

Given that we can have render-only devices, or vgem in a class of its
own, ignore any non-KMS devices in compositor-drm's device selection.
For x86 platforms, this is mostly a non-issue since we look at the udev
boot_vga issue, but other architectures which lack this, and have
multiple KMS devices present, will hit this.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reported-by: Thierry Reding <treding@nvidia.com>
Reported-by: Daniel Vetter <daniel.vetter@intel.com>
libweston/compositor-drm.c