Files
RedBear-OS/recipes/tools/file/source/magic/Magdir/mmdf
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

26 lines
1.4 KiB
Plaintext

#------------------------------------------------------------------------------
# $File: mmdf,v 1.7 2024/02/29 03:40:37 christos Exp $
# mmdf: file(1) magic for MMDF mail files
# Update: Joerg Jenderek Feb 2024
# URL: https://en.wikipedia.org/wiki/MMDF
# Reference: https://docs.oracle.com/cd/E88353_01/html/E37852/mmdf-5.html
# Note: Multi-channel Memorandum Distribution Facility (MMDF) mailbox format is a legacy variant of mbox format
# (handled by ./mail.news); each message is surrounded by lines containing 4 control-A
#
0 string \001\001\001\001
# GRR: MMDF mailbox (strength=70=70+0 ./mmdf) after D64 Image (strength=70=70+0 ./c64) Targa image data (strength=70=110-40 ./images)
# and before "PDP-11 UNIX/RT ldp" (strength=50=50+0 ./pdp)
#!:strength +0
# skip few Commodore disc Image where first content are initialized with ^A like "The Great Gianna Sisters.d64"
# by looking for following valid line terminator (10=0Ah~LineFeed or 13=0Dh~CarriageReturn)
#>4 ubyte&0xF8 =0x08 MMDF mailbox
# or by looking for MBOX Mailbox (/mail.news) characteristic like:
# https://github.com/dfandrich/oldmailconvert/blob/master/testdata/uupc.input.1
>5 search/610/b From\ MMDF mailbox
#!:mime application/octet-stream
!:mime message/x-mmdf
# https://github.com/dfandrich/oldmailconvert/blob/master/testdata/maillog.expected.2
# but default mailbox name is like /usr/spool/mail/username
!:ext /mmdf