broadcom/vc4: Fix simulator mode for the MADVISE usage.

This commit is contained in:
Eric Anholt
2017-11-09 15:51:56 -08:00
parent 272fe94942
commit 62deeaa23a
+4
View File
@@ -619,6 +619,10 @@ vc4_simulator_get_param_ioctl(int fd, struct drm_vc4_get_param *args)
args->value = true;
return 0;
case DRM_VC4_PARAM_SUPPORTS_MADVISE:
errno = -EINVAL;
return -1;
case DRM_VC4_PARAM_V3D_IDENT0:
args->value = 0x02000000;
return 0;