summaryrefslogtreecommitdiff
path: root/lib/libdrm/freedreno/kgsl/kgsl_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdrm/freedreno/kgsl/kgsl_pipe.c')
-rw-r--r--lib/libdrm/freedreno/kgsl/kgsl_pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libdrm/freedreno/kgsl/kgsl_pipe.c b/lib/libdrm/freedreno/kgsl/kgsl_pipe.c
index 8a39eb49e..80bd13133 100644
--- a/lib/libdrm/freedreno/kgsl/kgsl_pipe.c
+++ b/lib/libdrm/freedreno/kgsl/kgsl_pipe.c
@@ -52,6 +52,7 @@ static int kgsl_pipe_get_param(struct fd_pipe *pipe,
return 0;
case FD_MAX_FREQ:
case FD_TIMESTAMP:
+ case FD_NR_RINGS:
/* unsupported on kgsl */
return -1;
default:
@@ -210,7 +211,7 @@ static int getprop(int fd, enum kgsl_property_type type,
drm_private struct fd_pipe * kgsl_pipe_new(struct fd_device *dev,
- enum fd_pipe_id id)
+ enum fd_pipe_id id, uint32_t prio)
{
static const char *paths[] = {
[FD_PIPE_3D] = "/dev/kgsl-3d0",