Re: add a new DRM_IOCTL_GET_PCIINFO ioctl

2016-11-23 Thread Mark Kettenis
> Date: Wed, 23 Nov 2016 11:46:41 +1100 > From: Jonathan Gray > > On Tue, Nov 22, 2016 at 09:26:21PM +0100, Mark Kettenis wrote: > > > Date: Sat, 19 Nov 2016 19:27:25 +1100 > > > From: Jonathan Gray > > > > > > To pull pci information from the kernel for drm

Re: add a new DRM_IOCTL_GET_PCIINFO ioctl

2016-11-22 Thread Jonathan Gray
On Tue, Nov 22, 2016 at 09:26:21PM +0100, Mark Kettenis wrote: > > Date: Sat, 19 Nov 2016 19:27:25 +1100 > > From: Jonathan Gray > > > > To pull pci information from the kernel for drm devices we need a common > > drm ioctl. This is a requirement for implementing functions in

Re: add a new DRM_IOCTL_GET_PCIINFO ioctl

2016-11-22 Thread Mark Kettenis
> Date: Sat, 19 Nov 2016 19:27:25 +1100 > From: Jonathan Gray > > To pull pci information from the kernel for drm devices we need a common > drm ioctl. This is a requirement for implementing functions in libdrm > which are used by Mesa >= 13. > > To not clash with drm headers

add a new DRM_IOCTL_GET_PCIINFO ioctl

2016-11-19 Thread Jonathan Gray
To pull pci information from the kernel for drm devices we need a common drm ioctl. This is a requirement for implementing functions in libdrm which are used by Mesa >= 13. To not clash with drm headers this is added via pciio.h at kettenis' suggestion. The ioctl number reuses that of