mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
v3dv: check multiple semaphores capability
Check if kernel-driver supports multisync extension Signed-off-by: Melissa Wen <mwen@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13178>
This commit is contained in:
parent
264dedf690
commit
85c49db10d
2 changed files with 7 additions and 0 deletions
|
|
@ -797,6 +797,9 @@ physical_device_init(struct v3dv_physical_device *device,
|
|||
goto fail;
|
||||
}
|
||||
|
||||
device->caps.multisync =
|
||||
v3d_has_feature(device, DRM_V3D_PARAM_SUPPORTS_MULTISYNC_EXT);
|
||||
|
||||
result = init_uuids(device);
|
||||
if (result != VK_SUCCESS)
|
||||
goto fail;
|
||||
|
|
|
|||
|
|
@ -174,6 +174,10 @@ struct v3dv_physical_device {
|
|||
struct {
|
||||
bool merge_jobs;
|
||||
} options;
|
||||
|
||||
struct {
|
||||
bool multisync;
|
||||
} caps;
|
||||
};
|
||||
|
||||
VkResult v3dv_physical_device_acquire_display(struct v3dv_instance *instance,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue