Skip to contentSkip to conversation

Add drmOpenWithType and drmOpenOnceWithType

RFC PATCH In review Jammy Zhou 2 participants 3 messages Feb 2, 2015 – Feb 10, 2015

lore
Share & tools
lore

Jammy Zhou

author
#0 lore raw

cover Add drmOpenWithType and drmOpenOnceWithType

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(-)
Signature · 6 lines
1.9.1

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

Ping... Any comments on these patches?

Regards,
Jammy

-----Original Message-----
From: Jammy Zhou [mailto:[email protected]]
Sent: Monday, February 02, 2015 6:05 PM
To: [email protected]
Cc: Zhou, Jammy
Subject: [RFC PATCH 0/2] Add drmOpenWithType and drmOpenOnceWithType

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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

Reviewed-by
#2 lore raw
Quoted 1 line · Jammy

Ping... Any comments on these patches?

They look good to me.

Quoted 23 lines

Regards,
Jammy

-----Original Message-----
From: Jammy Zhou [mailto:[email protected]]
Sent: Monday, February 02, 2015 6:05 PM
To: [email protected]
Cc: Zhou, Jammy
Subject: [RFC PATCH 0/2] Add drmOpenWithType and drmOpenOnceWithType

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(-)
Quoted 7 lines

--
1.9.1

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel