diff options
author | Jonathan Marek <[email protected]> | 2019-01-28 10:09:39 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-01-28 18:21:16 -0500 |
commit | 7d458c0c69ad80e3d01c0ba79e57ed3981764823 (patch) | |
tree | 71182c6b5189cc72dce9a8cb9b927fcadbe77cdc /src/gallium/drivers/freedreno/a2xx/fd2_query.h | |
parent | cccec0b4573fd69530ec67fc808d41163059631c (diff) |
freedreno: a2xx: add perfcntrs
Based on a5xx perfcntrs implementation.
Signed-off-by: Jonathan Marek <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx/fd2_query.h')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_query.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_query.h b/src/gallium/drivers/freedreno/a2xx/fd2_query.h new file mode 100644 index 00000000000..4d9f3e39f81 --- /dev/null +++ b/src/gallium/drivers/freedreno/a2xx/fd2_query.h @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2019 Jonathan Marek <[email protected]> + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + * Authors: + * Jonathan Marek <[email protected]> + * Rob Clark <[email protected]> + */ + +#ifndef FD2_QUERY_H_ +#define FD2_QUERY_H_ + +#include "pipe/p_context.h" + +void fd2_query_context_init(struct pipe_context *pctx); + +#endif /* FD2_QUERY_H_ */ |