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_TIMESTAMP
[platform/upstream/libdrm.git]
/
freedreno
/
msm
/
msm_pipe.c
diff --git
a/freedreno/msm/msm_pipe.c
b/freedreno/msm/msm_pipe.c
index
f539b9a
..
f872e24
100644
(file)
--- a/
freedreno/msm/msm_pipe.c
+++ b/
freedreno/msm/msm_pipe.c
@@
-69,6
+69,8
@@
static int msm_pipe_get_param(struct fd_pipe *pipe,
return 0;
case FD_MAX_FREQ:
return query_param(pipe, MSM_PARAM_MAX_FREQ, value);
+ case FD_TIMESTAMP:
+ return query_param(pipe, MSM_PARAM_TIMESTAMP, value);
default:
ERROR_MSG("invalid param id: %d", param);
return -1;