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
/
msm
/
msm_pipe.c
diff --git
a/freedreno/msm/msm_pipe.c
b/freedreno/msm/msm_pipe.c
index
38db21d
..
f539b9a
100644
(file)
--- a/
freedreno/msm/msm_pipe.c
+++ b/
freedreno/msm/msm_pipe.c
@@
-67,6
+67,8
@@
static int msm_pipe_get_param(struct fd_pipe *pipe,
case FD_CHIP_ID:
*value = msm_pipe->chip_id;
return 0;
+ case FD_MAX_FREQ:
+ return query_param(pipe, MSM_PARAM_MAX_FREQ, value);
default:
ERROR_MSG("invalid param id: %d", param);
return -1;