[PATCH libdrm 2/2] libdrm: Use DRM_IOCTL_GET_PCIINFO on DragonFly

Emil Velikov emil.l.velikov at gmail.com
Mon Dec 17 18:13:42 UTC 2018


On Wed, 12 Dec 2018 at 19:49, François Tigeot <ftigeot at wolfpond.org> wrote:
>
> It is a cleaner and less fragile way to get PCI IDs than the one
> currently used by local DPorts patches.
>
Thanks for these François. Props to Ilia for pushing these.

JFYI, once DragonFly gets PCI dynamic power management, the team may
want to reconsider the ioctl approach.
Powering off/on the GPU (to issue the ioctl) may take some time, In
the odd case the GPU may lock-up :-(

-Emil


More information about the dri-devel mailing list