CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2016/11/25 16:33:39
Modified files: sys/dev/pci/drm: drm.h drm_drv.c Log message: Add a new DRM_IOCTL_GET_PCIINFO ioctl to have a non driver specific way to get pci device ids from a drm fd as an ordinary user. This will be used to provide non-sysfs implementations of functions in libdrm. These functions are required for Mesa >= 13. The ioctl number used is the same as the DRM_IOCTL_ADD_MAP ioctl which was removed when we removed DRI1 support. This was chosen to not collide with new ioctls from linux. ok kettenis@ ok mpi@ on an earlier version