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.
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
|
|
#------------------------------------------------------------------------------
|
|
# $File: kerberos,v 1.3 2019/04/19 00:42:27 christos Exp $
|
|
# kerberos: MIT kerberos file binary formats
|
|
#
|
|
|
|
# This magic entry is for demonstration purposes and could be improved
|
|
# if the following features were implemented in file:
|
|
#
|
|
# Strings inside [[ .. ]] in the descriptions have special meanings and
|
|
# are not printed.
|
|
#
|
|
# - Provide some form of iteration in number of components
|
|
# [[${counter}=%d]] in the description
|
|
# then append
|
|
# [${counter}--] in the offset of the entries
|
|
# - Provide a way to round the next offset
|
|
# Add [R:4] after the offset?
|
|
# - Provide a way to have optional entries
|
|
# XXX: Syntax:
|
|
# - Provide a way to "save" entries to print them later.
|
|
# if the description is [[${name}=%s]], then nothing is
|
|
# printed and a subsequent entry in the same magic file
|
|
# can refer to ${name}
|
|
# - Provide a way to format strings as hex values
|
|
#
|
|
# https://www.gnu.org/software/shishi/manual/html_node/\
|
|
# The-Keytab-Binary-File-Format.html
|
|
#
|
|
|
|
0 name keytab_entry
|
|
#>0 beshort x \b, size=%d
|
|
#>2 beshort x \b, components=%d
|
|
>4 pstring/H x \b, realm=%s
|
|
>>&0 pstring/H x \b, principal=%s/
|
|
>>>&0 pstring/H x \b%s
|
|
>>>>&0 belong x \b, type=%d
|
|
>>>>>&0 bedate x \b, date=%s
|
|
>>>>>>&0 byte x \b, kvno=%u
|
|
#>>>>>>>&0 pstring/H x
|
|
#>>>>>>>>&0 belong x
|
|
#>>>>>>>>>>&0 use keytab_entry
|
|
|
|
0 belong 0x05020000 Kerberos Keytab file
|
|
>4 use keytab_entry
|