aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-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 e70ade7d359..a73e409694c 100644
--- a/src/gallium/drivers/vc4/vc4_simulator.c
+++ b/src/gallium/drivers/vc4/vc4_simulator.c
@@ -663,6 +663,7 @@ vc4_simulator_ioctl(int fd, unsigned long request, void *args)
/* Disable these for now, since the sharing with i965 requires
* linear buffers.
*/
+ errno = -EINVAL;
return -1;
case DRM_IOCTL_VC4_GET_PARAM: