projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
intel/perf: make pipeline statistic query loading optional
[mesa.git]
/
src
/
intel
/
perf
/
gen_perf.h
diff --git
a/src/intel/perf/gen_perf.h
b/src/intel/perf/gen_perf.h
index 4f0805f2b269397b79ba3e0f0cc23f7fbc114b88..3f933a664fad561716e872730070beeb984377cb 100644
(file)
--- a/
src/intel/perf/gen_perf.h
+++ b/
src/intel/perf/gen_perf.h
@@
-38,6
+38,8
@@
#include "compiler/glsl/list.h"
#include "util/ralloc.h"
#include "compiler/glsl/list.h"
#include "util/ralloc.h"
+#include "drm-uapi/i915_drm.h"
+
struct gen_device_info;
struct gen_perf_config;
struct gen_device_info;
struct gen_perf_config;
@@
-195,6
+197,9
@@
struct gen_perf_config {
/* Version of the i915-perf subsystem, refer to i915_drm.h. */
int i915_perf_version;
/* Version of the i915-perf subsystem, refer to i915_drm.h. */
int i915_perf_version;
+ /* Powergating configuration for the running the query. */
+ struct drm_i915_gem_context_param_sseu sseu;
+
struct gen_perf_query_info *queries;
int n_queries;
struct gen_perf_query_info *queries;
int n_queries;
@@
-247,7
+252,8
@@
struct gen_perf_config {
void gen_perf_init_metrics(struct gen_perf_config *perf_cfg,
const struct gen_device_info *devinfo,
void gen_perf_init_metrics(struct gen_perf_config *perf_cfg,
const struct gen_device_info *devinfo,
- int drm_fd);
+ int drm_fd,
+ bool include_pipeline_statistics);
/** Query i915 for a metric id using guid.
*/
/** Query i915 for a metric id using guid.
*/