sylware / si-user (public) (License: Unspecified) (since 2019-09-09) (hash sha1)
old sample user level code to go with my gpu driver (has interesting code)
List of commits:
Subject Hash Author Date (UTC)
use monotonic raw timespec for page flipping aa5758c53e6a58038013c7be87a1ba865cb9b3df Sylvain BERTRAND 2013-08-31 02:48:33
pf is now asynchronous 246114120ed41152e5cc551ff28da99cac20d470 Sylvain BERTRAND 2013-08-28 00:16:17
memory caches love c51aedf797f97ec3426511b1578e52d575f25321 Sylvain BERTRAND 2013-08-23 14:48:06
add files 28fe912c85541ca80777d87fc4ac21447e9d57d0 Sylvain BERTRAND 2013-08-23 13:44:21
Initial commit 18d8ad18c54c32f78561e26d949d58efb8483bd3 Sylvain BERTRAND 2013-08-23 12:50:05
Commit aa5758c53e6a58038013c7be87a1ba865cb9b3df - use monotonic raw timespec for page flipping
Author: Sylvain BERTRAND
Author date (UTC): 2013-08-31 02:48
Committer name: Sylvain BERTRAND
Committer date (UTC): 2013-08-31 02:48
Parent(s): 246114120ed41152e5cc551ff28da99cac20d470
Signer:
Signing key:
Signing status: N
Tree: baeb92c1b8de82d28c921f399598f4f1bbe1f6ea
File Lines added Lines deleted
pf.c 3 2
File pf.c changed (mode: 100644) (index 2e5f6c0..20650fb)
... ... int main(int argc, char *argv[])
83 83 return EXIT_FAILURE; return EXIT_FAILURE;
84 84 } }
85 85 struct si_evt_pf *si_evt_pf=&si_evt.params.pf; struct si_evt_pf *si_evt_pf=&si_evt.params.pf;
86 o("pf event on dp%u vblanks_n=0x%08x",si_evt_pf->idx,
87 si_evt_pf->vblanks_n);
86 struct timespec *tp=&si_evt.params.pf.monotonic_raw_tp;
87 o("pf event on dp%u vblanks_n=0x%08x sec=%lu nsec=%lu",si_evt_pf->idx,
88 si_evt_pf->vblanks_n,tp->tv_sec,tp->tv_nsec);
88 89 } }
89 90 ++fd; ++fd;
90 91 } }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/si-user

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/si-user

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/si-user

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main