projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a41c0b5
)
iris: Enable INTEL_MEASURE for compute dispatches on XeHP
author
Nanley Chery
<nanley.g.chery@intel.com>
Wed, 26 Oct 2022 15:12:52 +0000
(08:12 -0700)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 28 Oct 2022 09:28:01 +0000
(09:28 +0000)
Cc: mesa-stable
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19324>
src/gallium/drivers/iris/iris_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_state.c
b/src/gallium/drivers/iris/iris_state.c
index
5fa58a9
..
4f157c8
100644
(file)
--- a/
src/gallium/drivers/iris/iris_state.c
+++ b/
src/gallium/drivers/iris/iris_state.c
@@
-7233,6
+7233,8
@@
iris_upload_compute_walker(struct iris_context *ice,
if (grid->indirect)
iris_load_indirect_location(ice, batch, grid);
+ iris_measure_snapshot(ice, batch, INTEL_SNAPSHOT_COMPUTE, NULL, NULL, NULL);
+
iris_emit_cmd(batch, GENX(COMPUTE_WALKER), cw) {
cw.IndirectParameterEnable = grid->indirect;
cw.SIMDSize = dispatch.simd_size / 16;