[PATCH weston 2/2] compositor-drm: prefer primary GPU over other GPUs

Dave Airlie airlied at gmail.com
Mon Oct 29 18:19:01 PDT 2012

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


More information about the wayland-devel mailing list