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:
committed by
Marge Bot
parent
25b73dff5a
commit
2237cff1af
@@ -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 *priorities_info =
|
||||||
(struct drm_panthor_group_priorities_info *)dev_query->pointer;
|
(struct drm_panthor_group_priorities_info *)dev_query->pointer;
|
||||||
|
|
||||||
/* Noop values */
|
/* Default values */
|
||||||
priorities_info->allowed_mask = 0;
|
priorities_info->allowed_mask =
|
||||||
|
PANTHOR_GROUP_PRIORITY_LOW | PANTHOR_GROUP_PRIORITY_MEDIUM;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user