Mesa (main): panfrost: Handle AFBC_FEATURES in drm-shim
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Nov 22 13:23:11 UTC 2021
Module: Mesa
Branch: main
Commit: c6ca2d1929437598639ff905f25d02a15ba815c4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6ca2d1929437598639ff905f25d02a15ba815c4
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Sat Nov 20 14:13:42 2021 -0500
panfrost: Handle AFBC_FEATURES in drm-shim
Fixes the warning with drm-shim:
Unknown DRM_IOCTL_PANFROST_GET_PARAM 40
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13894>
---
src/panfrost/drm-shim/panfrost_noop.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/panfrost/drm-shim/panfrost_noop.c b/src/panfrost/drm-shim/panfrost_noop.c
index 78c4fb5f7fd..52f82d1d5c8 100644
--- a/src/panfrost/drm-shim/panfrost_noop.c
+++ b/src/panfrost/drm-shim/panfrost_noop.c
@@ -58,6 +58,7 @@ pan_ioctl_get_param(int fd, unsigned long request, void *arg)
case DRM_PANFROST_PARAM_GPU_REVISION:
case DRM_PANFROST_PARAM_TEXTURE_FEATURES0:
case DRM_PANFROST_PARAM_THREAD_TLS_ALLOC:
+ case DRM_PANFROST_PARAM_AFBC_FEATURES:
gp->value = 0;
return 0;
default:
More information about the mesa-commit
mailing list