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.
50 lines
918 B
Plaintext
50 lines
918 B
Plaintext
# How to get started developing
|
|
|
|
@(#) $File: README.DEVELOPER,v 1.9 2021/09/20 14:04:39 christos Exp $
|
|
|
|
## Auto files
|
|
|
|
After checking out the source, run the following:
|
|
|
|
autoreconf -f -i
|
|
make distclean # this can fail if you have not built before
|
|
./configure --disable-silent-rules
|
|
make -j4
|
|
make -C tests check
|
|
|
|
If you see errors, make sure you have the latest libtool and autoconf
|
|
This has been tested with autoconf-2.69 and libtool-2.4.2
|
|
|
|
## Installing dependencies
|
|
|
|
If your platform doesn't have the above tools, install the following
|
|
packages first.
|
|
|
|
### Debian
|
|
|
|
apt-get install \
|
|
automake \
|
|
gcc \
|
|
libtool \
|
|
make \
|
|
python \
|
|
zlib1g-dev \
|
|
|
|
See also `.travis.yml`.
|
|
|
|
### Mac OS X (MacPorts)
|
|
|
|
port install \
|
|
autoconf \
|
|
automake \
|
|
libtool \
|
|
|
|
### Mac OS X (HomeBrew)
|
|
|
|
brew install autoconf automake libtool
|
|
|
|
Tested with:
|
|
autoconf 2.69
|
|
automake 1.16.1
|
|
libtool 2.4.6
|