summaryrefslogtreecommitdiff
path: root/lib/libdrm/freedreno/kgsl/kgsl_pipe.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-03-20 10:20:15 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-03-20 10:20:15 +0000
commit463789b8671482b661f77e2cebfb7be3bda94309 (patch)
treefebd90adea88473ce0558056b04ab792c26eb20d /lib/libdrm/freedreno/kgsl/kgsl_pipe.c
parent7566c3dace59661ce2bb9d4aa5de5552101e61f8 (diff)
Import libdrm 2.4.67
Diffstat (limited to 'lib/libdrm/freedreno/kgsl/kgsl_pipe.c')
-rw-r--r--lib/libdrm/freedreno/kgsl/kgsl_pipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libdrm/freedreno/kgsl/kgsl_pipe.c b/lib/libdrm/freedreno/kgsl/kgsl_pipe.c
index 58b3b4d50..5569da0a8 100644
--- a/lib/libdrm/freedreno/kgsl/kgsl_pipe.c
+++ b/lib/libdrm/freedreno/kgsl/kgsl_pipe.c
@@ -50,6 +50,9 @@ static int kgsl_pipe_get_param(struct fd_pipe *pipe,
case FD_CHIP_ID:
*value = kgsl_pipe->devinfo.chip_id;
return 0;
+ case FD_MAX_FREQ:
+ /* unsupported on kgsl */
+ return -1;
default:
ERROR_MSG("invalid param id: %d", param);
return -1;