[PATCH weston 2/2] compositor-drm: prefer primary GPU over other GPUs
hoegsberg at gmail.com
Tue Oct 30 11:43:38 PDT 2012
On Tue, Oct 30, 2012 at 11:19:01AM +1000, Dave Airlie wrote:
> > My comment was rather about the information which GPU can be used
> > independently by user-space. Anyway, I wasn't aware that the kernel
> > provides a boot_vga sysfs attribute with the same information. So I
> > can rewrite this patch to use this attribute instead of using
> > libpciaccess.
> Well for portability libpciaccess makes sense, if we care, all it does
> internally is reads the sysfs attribute.
We're allready all-in on udev in the kms/drm backend, so reading out a
sysfs attribute using udev_device_get_sysattr_value() doesn't make us
More information about the wayland-devel