mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 22:18:13 +02:00
radeonsi: advertise GL_NV_timeline_semaphore
Set max_timeline_semaphore_difference = UINT64_MAX when timeline syncobj is supported and GFX uses the kernel queue path (not userq). The GL state tracker auto-enables GL_NV_timeline_semaphore when this cap is non-zero. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/15113 Author: Claude Opus 4.6 <noreply@anthropic.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40526>
This commit is contained in:
parent
26418f0f58
commit
00b1d77176
1 changed files with 4 additions and 0 deletions
|
|
@ -1368,4 +1368,8 @@ void si_init_screen_caps(struct si_screen *sscreen)
|
|||
|
||||
if (sscreen->ws->va_range)
|
||||
sscreen->ws->va_range(sscreen->ws, &caps->min_vma, &caps->max_vma);
|
||||
|
||||
if (sscreen->info.has_timeline_syncobj &&
|
||||
!(sscreen->info.userq_ip_mask & BITFIELD_BIT(AMD_IP_GFX)))
|
||||
caps->max_timeline_semaphore_difference = UINT64_MAX;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue