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

41 lines
1.7 KiB
Plaintext

#------------------------------------------------------------------------------
# $File: ssl,v 1.7 2024/06/10 23:23:55 christos Exp $
# ssl: file(1) magic for SSL file formats
# Type: OpenSSL certificates/key files
# From: Nicolas Collignon <tsointsoin@gmail.com>
0 string -----BEGIN\040CERTIFICATE----- PEM certificate
!:mime application/x-pem-file
0 string -----BEGIN\040CERTIFICATE\040REQ PEM certificate request
!:mime application/x-pem-file
# Update: Joerg Jenderek
# Reference: https://github.com/openssl/openssl/blob/master/include/openssl/pem.h
# http://mark0.net/download/triddefs_xml.7z/defs/k/key-rsa-pvt.trid.xml
# Note: called "ASCII armored RSA Private Key" by TrID
0 string -----BEGIN\040RSA\040PRIVATE PEM RSA private key
#!:mime text/plain
!:mime text/x-ssl-private-key
!:ext key/priv
0 string -----BEGIN\040RSA\040PRIVATE PEM RSA private key
!:mime application/x-pem-file
0 string -----BEGIN\040DSA\040PRIVATE PEM DSA private key
!:mime application/x-pem-file
0 string -----BEGIN\040EC\040PRIVATE PEM EC private key
!:mime application/x-pem-file
0 string -----BEGIN\040ECDSA\040PRIVATE PEM ECDSA private key
!:mime application/x-pem-file
# From: Joerg Jenderek
# Reference: https://github.com/openssl/openssl/blob/master/include/openssl/pem.h
0 string -----BEGIN\040RSA\040PUBLIC\040KEY----- PEM RSA public key
#!:mime text/plain
!:mime text/x-ssl-public-key
!:ext pub
# From Luc Gommans
# OpenSSL enc file (recognized by a magic string preceding the password's salt)
0 string Salted__ openssl enc'd data with salted password
# Using the -a or -base64 option, OpenSSL will base64-encode the data.
0 string U2FsdGVkX1 openssl enc'd data with salted password, base64 encoded