History

drm/doc: Clarify what ioctls can be used on render nodes

The documentation for render nodes indicates that only "PRIME-related" ioctls are valid on render nodes, but the documentation does not clarify what that means. If the reader is not familiar with PRIME, they may beleive this to be only the ioctls with "PRIME" in the name and not other ioctls such as set of syncobj ioctls. Clarify the situation for the reader by referencing where the reader will find a current list of valid ioctls.

Jeffrey Hugo committed 4 years ago

Commit aa457ff1 parent f33b21f1 file · +3 −1Browse files

Unified · Split

Documentation/gpu/drm-uapi.rst+3−1
@@ -148,7 +148,9 @@ clients together with the legacy drmAuth authentication procedure. · 147 unmodified lines
148If a driver advertises render node support, DRM core will create a148If a driver advertises render node support, DRM core will create a
149separate render node called renderD<num>. There will be one render node149separate render node called renderD<num>. There will be one render node
150per device. No ioctls except PRIME-related ioctls will be allowed on150per device. No ioctls except PRIME-related ioctls will be allowed on
151this node. Especially GEM_OPEN will be explicitly prohibited. Render151this node. Especially GEM_OPEN will be explicitly prohibited. For a
152complete list of driver-independent ioctls that can be used on render
153nodes, see the ioctls marked DRM_RENDER_ALLOW in drm_ioctl.c Render
152nodes are designed to avoid the buffer-leaks, which occur if clients154nodes are designed to avoid the buffer-leaks, which occur if clients
153guess the flink names or mmap offsets on the legacy interface.155guess the flink names or mmap offsets on the legacy interface.
154Additionally to this basic interface, drivers must mark their156Additionally to this basic interface, drivers must mark their

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t