freedreno: add support for FD_TIMESTAMP
[platform/upstream/libdrm.git] / freedreno / msm / msm_pipe.c
index f539b9a..f872e24 100644 (file)
@@ -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;