drm/msm: Add a parameter query for the number of ringbuffers
authorJordan Crouse <jcrouse@codeaurora.org>
Fri, 20 Oct 2017 17:06:58 +0000 (11:06 -0600)
committerRob Clark <robdclark@gmail.com>
Sat, 28 Oct 2017 15:01:37 +0000 (11:01 -0400)
commita6e29a0eea3ccbf6fb8a908a3fc3e931f3ba2ae4
treedd9789bd1000e707465b99c59d544d6d52eeb490
parentf97decac5f4c2d862e5b848694e3ffb29fc8acdd
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>
drivers/gpu/drm/msm/adreno/adreno_gpu.c
include/uapi/drm/msm_drm.h