diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-10-20 11:06:58 -0600 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-10-28 11:01:37 -0400 |
commit | a6e29a0eea3ccbf6fb8a908a3fc3e931f3ba2ae4 (patch) | |
tree | dd9789bd1000e707465b99c59d544d6d52eeb490 /include | |
parent | drm/msm: Support multiple ringbuffers (diff) | |
download | linux-dev-a6e29a0eea3ccbf6fb8a908a3fc3e931f3ba2ae4.tar.xz linux-dev-a6e29a0eea3ccbf6fb8a908a3fc3e931f3ba2ae4.zip |
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.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/drm/msm_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h index 12d7619afa22..bbbaffad772d 100644 --- a/include/uapi/drm/msm_drm.h +++ b/include/uapi/drm/msm_drm.h @@ -73,6 +73,7 @@ struct drm_msm_timespec { #define MSM_PARAM_MAX_FREQ 0x04 #define MSM_PARAM_TIMESTAMP 0x05 #define MSM_PARAM_GMEM_BASE 0x06 +#define MSM_PARAM_NR_RINGS 0x07 struct drm_msm_param { __u32 pipe; /* in, MSM_PIPE_x */ |