diff options
author | Eric Anholt <[email protected]> | 2017-10-13 12:22:33 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-10-17 12:35:16 -0700 |
commit | cde209960c19ff866fa5a337541b68ef67198c48 (patch) | |
tree | b58bb9c7e86e4f4940774ed480d3b448c0c007f4 /src | |
parent | b202f90f65efd33de5ffa382c5b60f35cad0c036 (diff) |
broadcom/vc4: Fix false-positive for the tiling ioctls on simulator mode.
If there happened to be an ENOENT laying around, we would try using the
ioctls later and fail out resource allocation.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_simulator.c | 1 |
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: |