projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
191bc7c
)
brodacom/vc4: Fix simulator since the perfmon change.
author
Eric Anholt
<eric@anholt.net>
Mon, 12 Mar 2018 18:33:40 +0000
(11:33 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 13 Mar 2018 17:32:58 +0000
(10:32 -0700)
It would be nice to support perfmon with simulator, and might be a useful
tool for regression testing performance (since the simulator would be
deterministic).
src/gallium/drivers/vc4/vc4_simulator.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_simulator.c
b/src/gallium/drivers/vc4/vc4_simulator.c
index 3afb16e1fcf252db1bc4c93a5256712fede8ce91..37c098a04e929520ce87037064f9f91a59f988f3 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_simulator.c
+++ b/
src/gallium/drivers/vc4/vc4_simulator.c
@@
-620,6
+620,7
@@
vc4_simulator_get_param_ioctl(int fd, struct drm_vc4_get_param *args)
return 0;
case DRM_VC4_PARAM_SUPPORTS_MADVISE:
+ case DRM_VC4_PARAM_SUPPORTS_PERFMON:
errno = -EINVAL;
return -1;