git: DragonFly_RELEASE_5_4 drm: Add the DRM_IOCTL_GET_PCIINFO ioctl
Francois Tigeot
ftigeot at crater.dragonflybsd.org
Mon Dec 17 13:16:56 PST 2018
commit bfbcb981d2ef49dd05e7bace5bc0497aed2768eb
Author: François Tigeot <ftigeot at wolfpond.org>
Date: Mon Dec 10 23:06:11 2018 +0100
drm: Add the DRM_IOCTL_GET_PCIINFO ioctl
* It provides an easy way to get PCI device information from
a /dev file descriptor
* The main user will be mesa/libdrm
Obtained-from: OpenBSD
Summary of changes:
sys/dev/drm/drm_dragonfly.c | 5 +++++
sys/dev/drm/drm_internal.h | 2 ++
sys/dev/drm/drm_ioctl.c | 4 ++++
sys/dev/drm/drm_pci.c | 22 ++++++++++++++++++++++
sys/dev/drm/include/linux/pci.h | 6 +-----
sys/dev/drm/include/uapi_drm/drm.h | 18 ++++++++++++++++++
sys/dev/drm/include/{asm => uapi_linux}/pci.h | 12 +++++++-----
7 files changed, 59 insertions(+), 10 deletions(-)
copy sys/dev/drm/include/{asm => uapi_linux}/pci.h (81%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bfbcb981d2ef49dd05e7bace5bc0497aed2768eb
--
DragonFly BSD source repository
More information about the Commits
mailing list