projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b202f90
)
broadcom/vc4: Fix false-positive for the tiling ioctls on simulator mode.
author
Eric Anholt
<eric@anholt.net>
Fri, 13 Oct 2017 19:22:33 +0000
(12:22 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 17 Oct 2017 19:35:16 +0000
(12:35 -0700)
If there happened to be an ENOENT laying around, we would try using the
ioctls later and fail out resource allocation.
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
e70ade7
..
a73e409
100644
(file)
--- 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: