v3d: Fix Z clipping when viewport.scale[2] is negative.
[mesa.git] / src / gallium / drivers / vc4 / vc4_simulator.c
index cf9821236f382644b6b339877a57d8c720f6bfd5..37c098a04e929520ce87037064f9f91a59f988f3 100644 (file)
@@ -619,6 +619,11 @@ vc4_simulator_get_param_ioctl(int fd, struct drm_vc4_get_param *args)
                 args->value = true;
                 return 0;
 
+        case DRM_VC4_PARAM_SUPPORTS_MADVISE:
+        case DRM_VC4_PARAM_SUPPORTS_PERFMON:
+                errno = -EINVAL;
+                return -1;
+
         case DRM_VC4_PARAM_V3D_IDENT0:
                 args->value = 0x02000000;
                 return 0;
@@ -654,11 +659,16 @@ vc4_simulator_ioctl(int fd, unsigned long request, void *args)
                  */
                 return 0;
 
+        case DRM_IOCTL_VC4_LABEL_BO:
+                /* This is just debug information, nothing to do. */
+                return 0;
+
         case DRM_IOCTL_VC4_GET_TILING:
         case DRM_IOCTL_VC4_SET_TILING:
                 /* Disable these for now, since the sharing with i965 requires
                  * linear buffers.
                  */
+                errno = -EINVAL;
                 return -1;
 
         case DRM_IOCTL_VC4_GET_PARAM: