Mesa (master): brodacom/vc4: Fix simulator since the perfmon change.
Eric Anholt
anholt at kemper.freedesktop.org
Tue Mar 13 17:33:23 UTC 2018
Module: Mesa
Branch: master
Commit: a326eedc75d63188158424e779118bac2b451d4f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a326eedc75d63188158424e779118bac2b451d4f
Author: Eric Anholt <eric at anholt.net>
Date: Mon Mar 12 11:33:40 2018 -0700
brodacom/vc4: Fix simulator since the perfmon change.
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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/vc4/vc4_simulator.c b/src/gallium/drivers/vc4/vc4_simulator.c
index 3afb16e1fc..37c098a04e 100644
--- 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;
More information about the mesa-commit
mailing list