summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/vc4
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2018-03-12 11:33:40 -0700
committerEric Anholt <eric@anholt.net>2018-03-13 10:32:58 -0700
commita326eedc75d63188158424e779118bac2b451d4f (patch)
tree995404e8a4f2064d8f3998680642301fdbb19a0d /src/gallium/drivers/vc4
parent191bc7ce61660c1a4b8de97fe276c75fdc9d464f (diff)
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).
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r--src/gallium/drivers/vc4/vc4_simulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_simulator.c b/src/gallium/drivers/vc4/vc4_simulator.c
index 3afb16e1fcf..37c098a04e9 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;