History

drm/msm: Add a parameter query for the number of ringbuffers

In order to manage ringbuffer priority to its fullest userspace should know how many ringbuffers it has to work with. Add a parameter to return the number of active rings.

Jordan Crouse committed 9 years ago

Commit a6e29a01 parent f97deca2 files · +4 −0Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/drm/msm_drm.h+1−0
@@ -73,6 +73,7 @@ struct drm_msm_timespec { · 72 unmodified lines
73#define MSM_PARAM_MAX_FREQ 0x0473#define MSM_PARAM_MAX_FREQ 0x04
74#define MSM_PARAM_TIMESTAMP 0x0574#define MSM_PARAM_TIMESTAMP 0x05
75#define MSM_PARAM_GMEM_BASE 0x0675#define MSM_PARAM_GMEM_BASE 0x06
76#define MSM_PARAM_NR_RINGS 0x07
76 77
77struct drm_msm_param {78struct drm_msm_param {
78 __u32 pipe; /* in, MSM_PIPE_x */79 __u32 pipe; /* in, MSM_PIPE_x */

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