panfrost: Report default value for GROUP_PRIORITIES_INFO in drm-shim

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31961>
This commit is contained in:
Mary Guillemard 2024-11-05 08:07:49 +01:00 committed by Marge Bot
parent 25b73dff5a
commit 2237cff1af

View file

@ -214,8 +214,9 @@ panthor_ioctl_dev_query(int fd, unsigned long request, void *arg)
struct drm_panthor_group_priorities_info *priorities_info =
(struct drm_panthor_group_priorities_info *)dev_query->pointer;
/* Noop values */
priorities_info->allowed_mask = 0;
/* Default values */
priorities_info->allowed_mask =
PANTHOR_GROUP_PRIORITY_LOW | PANTHOR_GROUP_PRIORITY_MEDIUM;
return 0;
}