mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 21:30:09 +01:00
pan/kmod: Expose medium priority on panfrost
Panfrost currently doesn't support priorities, assumes default priority as medium to properly support global priorities on Vulkan. 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:
parent
2237cff1af
commit
e2c81380a9
1 changed files with 4 additions and 0 deletions
|
|
@ -208,6 +208,10 @@ panfrost_dev_query_props(const struct pan_kmod_dev *dev,
|
|||
props->timestamp_frequency = panfrost_query_raw(
|
||||
fd, DRM_PANFROST_PARAM_SYSTEM_TIMESTAMP_FREQUENCY, true, 0);
|
||||
}
|
||||
|
||||
/* Panfrost currently doesn't support priorities, assumes default priority as
|
||||
* medium */
|
||||
props->allowed_group_priorities_mask = PAN_KMOD_GROUP_ALLOW_PRIORITY_MEDIUM;
|
||||
}
|
||||
|
||||
static uint32_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue