git: drm: Add the DRM_IOCTL_GET_PCIINFO ioctl

Francois Tigeot ftigeot at crater.dragonflybsd.org
Mon Dec 10 14:07:43 PST 2018


commit 8a697a22391bbafe215fab92a6cb29ed3a1f6edf
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    |  1 +
 sys/dev/drm/include/uapi/drm/drm.h | 18 ++++++++++++++++++
 6 files changed, 52 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8a697a22391bbafe215fab92a6cb29ed3a1f6edf


-- 
DragonFly BSD source repository



More information about the Commits mailing list