mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
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.
This commit is contained in:
parent
b202f90f65
commit
cde209960c
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue