Files
RedBear-OS/recipes/tools/file/source/magic/Magdir/varied.script
T
vasilito 7686729069 drm: implement syncobj and fence for VIRGL/VirtIO driver
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.
2026-06-02 14:33:28 +03:00

25 lines
621 B
Plaintext

#------------------------------------------------------------------------------
# $File: varied.script,v 1.16 2024/02/04 19:26:02 christos Exp $
# varied.script: file(1) magic for various interpreter scripts
0 string #![ Rust Source file
!:ext rs
0 string/wt #!\ a
>&-1 string/T x %s script text executable
!:strength / 3
0 string/wb #!\ a
>&-1 string/T x %s script executable (binary data)
!:strength / 3
# using env
0 string/wt #!\ /usr/bin/env a
>15 string/T >\0 %s script text executable
!:strength / 6
0 string/wb #!\ /usr/bin/env a
>15 string/T >\0 %s script executable (binary data)
!:strength / 6