panfrost: group up stubbed params in drm-shim

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Brezillon Boris <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28241>
This commit is contained in:
Mary Guillemard
2024-03-19 10:47:54 +01:00
committed by Marge Bot
parent 25a6af36c9
commit 9fd5ac42c3
-2
View File
@@ -84,8 +84,6 @@ panfrost_ioctl_get_param(int fd, unsigned long request, void *arg)
case DRM_PANFROST_PARAM_THREAD_TLS_ALLOC:
case DRM_PANFROST_PARAM_AFBC_FEATURES:
case DRM_PANFROST_PARAM_THREAD_FEATURES:
gp->value = 0;
return 0;
case DRM_PANFROST_PARAM_MEM_FEATURES:
/* lazy default, but works for the purposes of drm_shim */
gp->value = 0x0;