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.
23 lines
764 B
Plaintext
23 lines
764 B
Plaintext
#------------------------------------------------------------------------------
|
|
# $File: parrot,v 1.2 2019/04/19 00:42:27 christos Exp $
|
|
# parrot: file(1) magic for Parrot Virtual Machine
|
|
# URL: https://www.lua.org/
|
|
# From: Lubomir Rintel <lkundrak@v3.sk>
|
|
|
|
# Compiled Parrot byte code
|
|
0 string \376PBC\r\n\032\n Parrot bytecode
|
|
>64 byte x %d.
|
|
>72 byte x \b%d,
|
|
>8 byte >0 %d byte words,
|
|
>16 byte 0 little-endian,
|
|
>16 byte 1 big-endian,
|
|
>32 byte 0 IEEE-754 8 byte double floats,
|
|
>32 byte 1 x86 12 byte long double floats,
|
|
>32 byte 2 IEEE-754 16 byte long double floats,
|
|
>32 byte 3 MIPS 16 byte long double floats,
|
|
>32 byte 4 AIX 16 byte long double floats,
|
|
>32 byte 5 4-byte floats,
|
|
>40 byte x Parrot %d.
|
|
>48 byte x \b%d.
|
|
>56 byte x \b%d
|