[RFC PATCH 0/2] Add drmOpenWithType and drmOpenOnceWithType

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For DRM render nodes, they are opened with the 'open' system call directly by
components such as mesa, etc now, and the minor number should be specified with the
new drmOpenRender function.

The following two patches add two new functions to open DRM device with the specified
node type, and the minor number is transparent to the callers.

Jammy Zhou (2):
  Add new drmOpenWithType function (v3)
  Add new drmOpenOnceWithType function (v2)

 xf86drm.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++---------------
 xf86drm.h | 10 ++++++++-
 2 files changed, 67 insertions(+), 18 deletions(-)

-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux