7686729069
Extract protocol-agnostic FenceTimeline from Intel to shared src/drivers/fence.rs — atomic-based fence tracking suitable for Intel, VIRGL, and AMD drivers. Extract protocol-agnostic SyncobjManager from Intel to shared src/drivers/syncobj.rs — syncobj create/destroy/signal/reset/ wait/query and sync_file fd export/import. Wire both into VirtioDriver: - Add FenceTimeline + SyncobjManager fields - Implement all 5 GpuDriver syncobj trait methods (create, destroy, wait, export_fd, import_fd) - Track fence seqnos in virgl_submit_3d (allocate before submit, signal after completion) Intel fence.rs and syncobj.rs converted to thin re-export modules pointing at shared sources — no behavioral change for Intel driver. This gives Mesa VIRGL userspace the standard DRM syncobj API for GPU/compositor synchronization.
15 lines
341 B
Plaintext
15 lines
341 B
Plaintext
# Compute Easter of 2002...
|
|
# usage: (echo YEAR; cat easter.dc) | dc
|
|
|
|
2002
|
|
|
|
[ddsf[lfp[too early
|
|
]Pq]s@1583>@
|
|
ddd19%1+sg100/1+d3*4/12-sx8*5+25/5-sz5*4/lx-10-sdlg11*20+lz+lx-30%
|
|
d[30+]s@0>@d[[1+]s@lg11<@]s@25=@d[1+]s@24=@se44le-d[30+]s@21>@dld+7%-7+
|
|
[March ]smd[31-[April ]sm]s@31<@psnlmPpsn1z>p]splpx
|
|
|
|
# Compute square root of 2
|
|
|
|
16oAk2vpq
|