projects
/
platform
/
upstream
/
libdrm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
freedreno: add support for FD_MAX_FREQ
[platform/upstream/libdrm.git]
/
freedreno
/
kgsl
/
kgsl_pipe.c
diff --git
a/freedreno/kgsl/kgsl_pipe.c
b/freedreno/kgsl/kgsl_pipe.c
index
58b3b4d
..
5569da0
100644
(file)
--- a/
freedreno/kgsl/kgsl_pipe.c
+++ b/
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;