v3d/shim: include new ioctl parameters

Some new parameters added recently were missed in the DRM shim.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9880
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25370>
This commit is contained in:
Juan A. Suarez Romero 2023-09-25 12:21:28 +02:00 committed by Marge Bot
parent 219a14d093
commit bf32199386

View file

@ -122,6 +122,15 @@ v3d_ioctl_get_param(int fd, unsigned long request, void *arg)
case DRM_V3D_PARAM_SUPPORTS_TFU:
gp->value = 1;
return 0;
case DRM_V3D_PARAM_SUPPORTS_CSD:
gp->value = 1;
return 0;
case DRM_V3D_PARAM_SUPPORTS_CACHE_FLUSH:
gp->value = 1;
return 0;
case DRM_V3D_PARAM_SUPPORTS_PERFMON:
gp->value = 1;
return 0;
default:
break;
}