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
less portable.

Kristian
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to