OXIESEC PANEL
- Current Dir:
/
/
usr
/
include
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/21/2019 03:48:12 PM
rwxr-xr-x
📁
EGL
-
10/28/2024 06:50:22 AM
rwxr-xr-x
📁
GL
-
10/28/2024 06:50:20 AM
rwxr-xr-x
📁
KHR
-
10/28/2024 06:50:20 AM
rwxr-xr-x
📁
OpenEXR
-
10/28/2024 06:50:35 AM
rwxr-xr-x
📁
X11
-
10/28/2024 06:50:32 AM
rwxr-xr-x
📄
_G_config.h
932 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
aio.h
7.28 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
aliases.h
1.98 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
alloca.h
1.17 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ar.h
1.69 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
argp.h
24.82 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
argz.h
5.91 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
arpa
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
asm-generic
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
assert.h
4.53 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
at-spi-2.0
-
10/28/2024 06:50:16 AM
rwxr-xr-x
📁
at-spi2-atk
-
10/28/2024 06:50:16 AM
rwxr-xr-x
📁
atk-1.0
-
10/28/2024 06:50:16 AM
rwxr-xr-x
📄
autotest.h
6.05 KB
03/26/2018 02:37:19 PM
rw-r--r--
📁
btrfs
-
10/21/2019 03:49:20 PM
rwxr-xr-x
📄
byteswap.h
1.37 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
c++
-
01/31/2023 12:38:15 PM
rwxr-xr-x
📁
cairo
-
10/28/2024 06:50:19 AM
rwxr-xr-x
📄
complex.h
7 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
cpio.h
2.21 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
crypt.h
2.21 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ctype.h
10.71 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
dbus-1.0
-
10/28/2024 06:50:15 AM
rwxr-xr-x
📁
dc1394
-
10/28/2024 06:50:34 AM
rwxr-xr-x
📄
dirent.h
12.19 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
dlfcn.h
6.85 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
drm
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
elf.h
166.04 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
endian.h
3.11 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
entities.h
4.81 KB
08/30/2021 07:10:11 PM
rw-r--r--
📄
envz.h
2.8 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
epoxy
-
10/28/2024 06:50:22 AM
rwxr-xr-x
📄
err.h
2.16 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
errno.h
1.79 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
error.h
1.99 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
execinfo.h
1.49 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
expat.h
43.17 KB
11/18/2022 10:57:30 AM
rw-r--r--
📄
expat_external.h
5.4 KB
11/18/2022 10:57:30 AM
rw-r--r--
📄
fcntl.h
9.24 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
features.h
15.18 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
fenv.h
5.72 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
fmtmsg.h
3.16 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
fnmatch.h
2.24 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
fontconfig
-
01/31/2023 12:38:18 PM
rwxr-xr-x
📁
freetype2
-
01/31/2023 12:38:18 PM
rwxr-xr-x
📄
fstab.h
3.04 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
fts.h
8.18 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ftw.h
5.13 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
gawkapi.h
30.31 KB
02/11/2018 05:02:41 AM
rw-r--r--
📄
gconv.h
4.31 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
gd.h
56.42 KB
08/30/2021 07:10:11 PM
rw-r--r--
📄
gd_color_map.h
478 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gd_errors.h
1.47 KB
08/30/2021 07:10:11 PM
rw-r--r--
📄
gd_io.h
3.05 KB
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdcache.h
2.83 KB
08/30/2021 07:10:11 PM
rw-r--r--
📁
gdcm-2.8
-
10/28/2024 06:50:28 AM
rwxr-xr-x
📄
gdfontg.h
553 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdfontl.h
551 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdfontmb.h
519 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdfonts.h
515 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdfontt.h
546 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📄
gdfx.h
497 bytes
08/30/2021 07:10:11 PM
rw-r--r--
📁
gdk-pixbuf-2.0
-
10/28/2024 06:50:28 AM
rwxr-xr-x
📄
gdpp.h
50.94 KB
08/30/2021 07:10:11 PM
rw-r--r--
📄
getopt.h
1.43 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
gio-unix-2.0
-
10/28/2024 06:50:15 AM
rwxr-xr-x
📁
glib-2.0
-
10/28/2024 06:50:15 AM
rwxr-xr-x
📄
glob.h
6.46 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
glvnd
-
10/28/2024 06:50:20 AM
rwxr-xr-x
📄
gnu-versions.h
2.29 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
gnumake.h
2.84 KB
04/17/2018 12:12:28 PM
rw-r--r--
📁
gphoto2
-
10/28/2024 06:50:29 AM
rwxr-xr-x
📁
graphite2
-
10/28/2024 06:50:29 AM
rwxr-xr-x
📄
grp.h
6.53 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
gshadow.h
4.42 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
gtk-3.0
-
10/28/2024 06:50:32 AM
rwxr-xr-x
📁
harfbuzz
-
10/28/2024 06:50:31 AM
rwxr-xr-x
📄
iconv.h
1.81 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
icu-le-hb
-
10/28/2024 06:50:30 AM
rwxr-xr-x
📄
ifaddrs.h
2.77 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
inttypes.h
11.61 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
jbig.h
9.55 KB
11/22/2022 04:58:49 PM
rw-r--r--
📄
jbig85.h
6.78 KB
11/22/2022 04:58:49 PM
rw-r--r--
📄
jbig_ar.h
2.21 KB
11/22/2022 04:58:49 PM
rw-r--r--
📄
jerror.h
14.73 KB
09/21/2022 06:07:11 PM
rw-r--r--
📄
jmorecfg.h
14.7 KB
09/21/2022 06:07:11 PM
rw-r--r--
📄
jpegint.h
15.22 KB
07/07/2017 08:31:10 PM
rw-r--r--
📄
jpeglib.h
48.71 KB
09/21/2022 06:07:11 PM
rw-r--r--
📄
langinfo.h
17.43 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
lastlog.h
126 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📁
layout
-
10/28/2024 06:50:31 AM
rwxr-xr-x
📁
libdrm
-
10/28/2024 06:50:20 AM
rwxr-xr-x
📁
libexif
-
10/28/2024 06:50:22 AM
rwxr-xr-x
📄
libgen.h
1.35 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
libintl.h
4.47 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
libio.h
918 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📁
libltdl
-
01/31/2023 12:34:20 PM
rwxr-xr-x
📁
libpng
-
01/31/2023 12:38:17 PM
rwxr-xr-x
📁
libpng16
-
01/31/2023 12:38:17 PM
rwxr-xr-x
📁
libraw1394
-
10/28/2024 06:50:34 AM
rwxr-xr-x
📄
libsync.h
3.38 KB
04/03/2020 12:28:15 PM
rw-r--r--
📄
libv4l-plugin.h
1.72 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
libv4l1-videodev.h
6.99 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
libv4l1.h
2.85 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
libv4l2.h
4.62 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
libv4l2rds.h
14.31 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
libv4lconvert.h
6.16 KB
02/10/2018 12:46:51 PM
rw-r--r--
📄
limits.h
5.29 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
link.h
7.04 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
linux
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
locale.h
7.49 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ltdl.h
5.58 KB
08/20/2016 12:34:31 PM
rw-r--r--
📁
lzma
-
01/31/2023 12:38:19 PM
rwxr-xr-x
📄
lzma.h
9.51 KB
04/08/2022 12:56:46 PM
rw-r--r--
📄
malloc.h
5.96 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
math.h
44.33 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
mcheck.h
2.38 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
memory.h
955 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📁
misc
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
mntent.h
3.28 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
monetary.h
1.76 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
mqueue.h
3.67 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
mtd
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📁
net
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netash
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netatalk
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netax25
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📄
netdb.h
27.39 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
neteconet
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netinet
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netipx
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netiucv
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netpacket
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netrom
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
netrose
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
nfs
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📄
nl_types.h
1.71 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
nss.h
1.83 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
obstack.h
20.81 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
odbcinst.h
17.85 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
odbcinstext.h
10.69 KB
03/26/2018 02:37:19 PM
rw-r--r--
📁
opencv
-
10/28/2024 06:50:42 AM
rwxr-xr-x
📁
opencv2
-
10/28/2024 06:50:42 AM
rwxr-xr-x
📁
pango-1.0
-
10/28/2024 06:50:31 AM
rwxr-xr-x
📄
paths.h
2.91 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
pcre.h
30.96 KB
05/17/2022 07:42:45 AM
rw-r--r--
📄
pcre_scanner.h
6.45 KB
05/17/2022 07:42:45 AM
rw-r--r--
📄
pcre_stringpiece.h
6.16 KB
05/17/2022 07:42:45 AM
rw-r--r--
📄
pcrecpp.h
26.02 KB
05/17/2022 07:42:45 AM
rw-r--r--
📄
pcrecpparg.h
6.62 KB
05/17/2022 07:42:45 AM
rw-r--r--
📄
pcreposix.h
5.5 KB
05/17/2022 07:42:45 AM
rw-r--r--
📁
pixman-1
-
10/28/2024 06:50:19 AM
rwxr-xr-x
📄
png.h
140.77 KB
04/30/2019 02:56:15 PM
rw-r--r--
📄
pngconf.h
22.31 KB
04/30/2019 02:56:15 PM
rw-r--r--
📄
pnglibconf.h
7.39 KB
04/30/2019 02:56:15 PM
rw-r--r--
📄
poll.h
22 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
printf.h
6.64 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
proc_service.h
3.39 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
protocols
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📄
pthread.h
40.3 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
pty.h
1.53 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
pwd.h
5.89 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
python3.6
-
10/28/2024 08:45:52 AM
rwxr-xr-x
📁
python3.6m
-
10/28/2024 08:45:52 AM
rwxr-xr-x
📁
rdma
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
re_comp.h
962 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
regex.h
21.53 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
regexp.h
1.41 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
resolv.h
11.73 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
rpc
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📁
rpcsvc
-
01/31/2023 12:30:37 PM
rwxr-xr-x
📄
sched.h
4.62 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
scsi
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
search.h
5.1 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
semaphore.h
2.34 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
setjmp.h
3.58 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
sgtty.h
1.31 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
shadow.h
5.08 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
signal.h
11.96 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
sound
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
spawn.h
6.53 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
sql.h
31.62 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
sqlext.h
81.3 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
sqlspi.h
6.82 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
sqltypes.h
10.88 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
sqlucode.h
21.16 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
stab.h
264 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
stdc-predef.h
2.31 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
stdint.h
8.42 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
stdio.h
28.97 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
stdio_ext.h
2.73 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
stdlib.h
34.95 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
string.h
17.13 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
strings.h
4.64 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
stropts.h
2.98 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
sudo_plugin.h
7.89 KB
04/04/2023 12:44:58 PM
rw-r--r--
📄
syscall.h
25 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
sysexits.h
5.11 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
syslog.h
24 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
tar.h
3.7 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
tbb
-
10/28/2024 06:50:34 AM
rwxr-xr-x
📄
termio.h
214 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
termios.h
3.51 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
tgmath.h
30.75 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
thread_db.h
15.65 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
time.h
10.12 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ttyent.h
2.44 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
uchar.h
2.26 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ucontext.h
1.89 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
ulimit.h
1.55 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
unicode
-
10/28/2024 06:50:31 AM
rwxr-xr-x
📄
unistd.h
41.78 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
uodbc_extras.h
2.25 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
uodbc_stats.h
2.53 KB
03/26/2018 02:37:19 PM
rw-r--r--
📄
ustat.h
23 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
utime.h
1.47 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
utmp.h
3.15 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
utmpx.h
4 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
values.h
1.91 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
video
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📁
vpx
-
01/31/2023 12:38:19 PM
rwxr-xr-x
📄
wait.h
22 bytes
05/03/2022 10:19:39 AM
rw-r--r--
📄
wayland-client-core.h
8.41 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-client-protocol.h
174.44 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-client.h
1.54 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-cursor.h
2.21 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-egl-core.h
1.75 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-egl.h
1.28 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-server-core.h
18.32 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-server-protocol.h
136.57 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-server.h
3.16 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-util.h
23.16 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wayland-version.h
1.32 KB
09/14/2022 01:57:23 PM
rw-r--r--
📄
wchar.h
30.38 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
wctype.h
5.42 KB
05/03/2022 10:19:39 AM
rw-r--r--
📄
wordexp.h
2.44 KB
05/03/2022 10:19:39 AM
rw-r--r--
📁
x86_64-linux-gnu
-
10/28/2024 06:50:44 AM
rwxr-xr-x
📁
xcb
-
10/28/2024 06:50:21 AM
rwxr-xr-x
📁
xen
-
05/09/2024 07:14:21 AM
rwxr-xr-x
📄
xf86drm.h
34.65 KB
05/11/2020 12:47:23 PM
rw-r--r--
📄
xf86drmMode.h
17.59 KB
04/03/2020 12:28:15 PM
rw-r--r--
📁
xfs
-
04/18/2018 06:44:31 AM
rwxr-xr-x
📁
xkbcommon
-
10/28/2024 06:50:32 AM
rwxr-xr-x
📄
zconf.h
15.88 KB
08/16/2022 10:08:38 PM
rw-r--r--
📄
zlib.h
94 KB
08/16/2022 10:08:38 PM
rw-r--r--
Editing: xf86drmMode.h
Close
/* * \file xf86drmMode.h * Header for DRM modesetting interface. * * \author Jakob Bornecrantz <wallbraker@gmail.com> * * \par Acknowledgements: * Feb 2007, Dave Airlie <airlied@linux.ie> */ /* * Copyright (c) 2007-2008 Tungsten Graphics, Inc., Cedar Park, Texas. * Copyright (c) 2007-2008 Dave Airlie <airlied@linux.ie> * Copyright (c) 2007-2008 Jakob Bornecrantz <wallbraker@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. * */ #ifndef _XF86DRMMODE_H_ #define _XF86DRMMODE_H_ #if defined(__cplusplus) extern "C" { #endif #include <drm.h> #include <stddef.h> #include <stdint.h> /* * This is the interface for modesetting for drm. * * In order to use this interface you must include either <stdint.h> or another * header defining uint32_t, int32_t and uint16_t. * * It aims to provide a randr1.2 compatible interface for modesettings in the * kernel, the interface is also meant to be used by libraries like EGL. * * More information can be found in randrproto.txt which can be found here: * http://gitweb.freedesktop.org/?p=xorg/proto/randrproto.git * * There are some major differences to be noted. Unlike the randr1.2 proto you * need to create the memory object of the framebuffer yourself with the ttm * buffer object interface. This object needs to be pinned. */ /* * If we pickup an old version of drm.h which doesn't include drm_mode.h * we should redefine defines. This is so that builds doesn't breaks with * new libdrm on old kernels. */ #ifndef _DRM_MODE_H #define DRM_DISPLAY_INFO_LEN 32 #define DRM_CONNECTOR_NAME_LEN 32 #define DRM_DISPLAY_MODE_LEN 32 #define DRM_PROP_NAME_LEN 32 #define DRM_MODE_TYPE_BUILTIN (1<<0) #define DRM_MODE_TYPE_CLOCK_C ((1<<1) | DRM_MODE_TYPE_BUILTIN) #define DRM_MODE_TYPE_CRTC_C ((1<<2) | DRM_MODE_TYPE_BUILTIN) #define DRM_MODE_TYPE_PREFERRED (1<<3) #define DRM_MODE_TYPE_DEFAULT (1<<4) #define DRM_MODE_TYPE_USERDEF (1<<5) #define DRM_MODE_TYPE_DRIVER (1<<6) /* Video mode flags */ /* bit compatible with the xorg definitions. */ #define DRM_MODE_FLAG_PHSYNC (1<<0) #define DRM_MODE_FLAG_NHSYNC (1<<1) #define DRM_MODE_FLAG_PVSYNC (1<<2) #define DRM_MODE_FLAG_NVSYNC (1<<3) #define DRM_MODE_FLAG_INTERLACE (1<<4) #define DRM_MODE_FLAG_DBLSCAN (1<<5) #define DRM_MODE_FLAG_CSYNC (1<<6) #define DRM_MODE_FLAG_PCSYNC (1<<7) #define DRM_MODE_FLAG_NCSYNC (1<<8) #define DRM_MODE_FLAG_HSKEW (1<<9) /* hskew provided */ #define DRM_MODE_FLAG_BCAST (1<<10) #define DRM_MODE_FLAG_PIXMUX (1<<11) #define DRM_MODE_FLAG_DBLCLK (1<<12) #define DRM_MODE_FLAG_CLKDIV2 (1<<13) #define DRM_MODE_FLAG_3D_MASK (0x1f<<14) #define DRM_MODE_FLAG_3D_NONE (0<<14) #define DRM_MODE_FLAG_3D_FRAME_PACKING (1<<14) #define DRM_MODE_FLAG_3D_FIELD_ALTERNATIVE (2<<14) #define DRM_MODE_FLAG_3D_LINE_ALTERNATIVE (3<<14) #define DRM_MODE_FLAG_3D_SIDE_BY_SIDE_FULL (4<<14) #define DRM_MODE_FLAG_3D_L_DEPTH (5<<14) #define DRM_MODE_FLAG_3D_L_DEPTH_GFX_GFX_DEPTH (6<<14) #define DRM_MODE_FLAG_3D_TOP_AND_BOTTOM (7<<14) #define DRM_MODE_FLAG_3D_SIDE_BY_SIDE_HALF (8<<14) /* DPMS flags */ /* bit compatible with the xorg definitions. */ #define DRM_MODE_DPMS_ON 0 #define DRM_MODE_DPMS_STANDBY 1 #define DRM_MODE_DPMS_SUSPEND 2 #define DRM_MODE_DPMS_OFF 3 /* Scaling mode options */ #define DRM_MODE_SCALE_NON_GPU 0 #define DRM_MODE_SCALE_FULLSCREEN 1 #define DRM_MODE_SCALE_NO_SCALE 2 #define DRM_MODE_SCALE_ASPECT 3 /* Dithering mode options */ #define DRM_MODE_DITHERING_OFF 0 #define DRM_MODE_DITHERING_ON 1 #define DRM_MODE_ENCODER_NONE 0 #define DRM_MODE_ENCODER_DAC 1 #define DRM_MODE_ENCODER_TMDS 2 #define DRM_MODE_ENCODER_LVDS 3 #define DRM_MODE_ENCODER_TVDAC 4 #define DRM_MODE_ENCODER_VIRTUAL 5 #define DRM_MODE_ENCODER_DSI 6 #define DRM_MODE_ENCODER_DPMST 7 #define DRM_MODE_ENCODER_DPI 8 #define DRM_MODE_SUBCONNECTOR_Automatic 0 #define DRM_MODE_SUBCONNECTOR_Unknown 0 #define DRM_MODE_SUBCONNECTOR_DVID 3 #define DRM_MODE_SUBCONNECTOR_DVIA 4 #define DRM_MODE_SUBCONNECTOR_Composite 5 #define DRM_MODE_SUBCONNECTOR_SVIDEO 6 #define DRM_MODE_SUBCONNECTOR_Component 8 #define DRM_MODE_SUBCONNECTOR_SCART 9 #define DRM_MODE_CONNECTOR_Unknown 0 #define DRM_MODE_CONNECTOR_VGA 1 #define DRM_MODE_CONNECTOR_DVII 2 #define DRM_MODE_CONNECTOR_DVID 3 #define DRM_MODE_CONNECTOR_DVIA 4 #define DRM_MODE_CONNECTOR_Composite 5 #define DRM_MODE_CONNECTOR_SVIDEO 6 #define DRM_MODE_CONNECTOR_LVDS 7 #define DRM_MODE_CONNECTOR_Component 8 #define DRM_MODE_CONNECTOR_9PinDIN 9 #define DRM_MODE_CONNECTOR_DisplayPort 10 #define DRM_MODE_CONNECTOR_HDMIA 11 #define DRM_MODE_CONNECTOR_HDMIB 12 #define DRM_MODE_CONNECTOR_TV 13 #define DRM_MODE_CONNECTOR_eDP 14 #define DRM_MODE_CONNECTOR_VIRTUAL 15 #define DRM_MODE_CONNECTOR_DSI 16 #define DRM_MODE_CONNECTOR_DPI 17 #define DRM_MODE_CONNECTOR_WRITEBACK 18 #define DRM_MODE_PROP_PENDING (1<<0) #define DRM_MODE_PROP_RANGE (1<<1) #define DRM_MODE_PROP_IMMUTABLE (1<<2) #define DRM_MODE_PROP_ENUM (1<<3) /* enumerated type with text strings */ #define DRM_MODE_PROP_BLOB (1<<4) #define DRM_MODE_CURSOR_BO (1<<0) #define DRM_MODE_CURSOR_MOVE (1<<1) #endif /* _DRM_MODE_H */ /* * Feature defines * * Just because these are defined doesn't mean that the kernel * can do that feature, its just for new code vs old libdrm. */ #define DRM_MODE_FEATURE_KMS 1 #define DRM_MODE_FEATURE_DIRTYFB 1 typedef struct _drmModeRes { int count_fbs; uint32_t *fbs; int count_crtcs; uint32_t *crtcs; int count_connectors; uint32_t *connectors; int count_encoders; uint32_t *encoders; uint32_t min_width, max_width; uint32_t min_height, max_height; } drmModeRes, *drmModeResPtr; typedef struct _drmModeModeInfo { uint32_t clock; uint16_t hdisplay, hsync_start, hsync_end, htotal, hskew; uint16_t vdisplay, vsync_start, vsync_end, vtotal, vscan; uint32_t vrefresh; uint32_t flags; uint32_t type; char name[DRM_DISPLAY_MODE_LEN]; } drmModeModeInfo, *drmModeModeInfoPtr; typedef struct _drmModeFB { uint32_t fb_id; uint32_t width, height; uint32_t pitch; uint32_t bpp; uint32_t depth; /* driver specific handle */ uint32_t handle; } drmModeFB, *drmModeFBPtr; typedef struct _drmModeFB2 { uint32_t fb_id; uint32_t width, height; uint32_t pixel_format; /* fourcc code from drm_fourcc.h */ uint64_t modifier; /* applies to all buffers */ uint32_t flags; /* per-plane GEM handle; may be duplicate entries for multiple planes */ uint32_t handles[4]; uint32_t pitches[4]; /* bytes */ uint32_t offsets[4]; /* bytes */ } drmModeFB2, *drmModeFB2Ptr; typedef struct drm_clip_rect drmModeClip, *drmModeClipPtr; typedef struct _drmModePropertyBlob { uint32_t id; uint32_t length; void *data; } drmModePropertyBlobRes, *drmModePropertyBlobPtr; typedef struct _drmModeProperty { uint32_t prop_id; uint32_t flags; char name[DRM_PROP_NAME_LEN]; int count_values; uint64_t *values; /* store the blob lengths */ int count_enums; struct drm_mode_property_enum *enums; int count_blobs; uint32_t *blob_ids; /* store the blob IDs */ } drmModePropertyRes, *drmModePropertyPtr; static __inline int drm_property_type_is(drmModePropertyPtr property, uint32_t type) { /* instanceof for props.. handles extended type vs original types: */ if (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) return (property->flags & DRM_MODE_PROP_EXTENDED_TYPE) == type; return property->flags & type; } typedef struct _drmModeCrtc { uint32_t crtc_id; uint32_t buffer_id; /**< FB id to connect to 0 = disconnect */ uint32_t x, y; /**< Position on the framebuffer */ uint32_t width, height; int mode_valid; drmModeModeInfo mode; int gamma_size; /**< Number of gamma stops */ } drmModeCrtc, *drmModeCrtcPtr; typedef struct _drmModeEncoder { uint32_t encoder_id; uint32_t encoder_type; uint32_t crtc_id; uint32_t possible_crtcs; uint32_t possible_clones; } drmModeEncoder, *drmModeEncoderPtr; typedef enum { DRM_MODE_CONNECTED = 1, DRM_MODE_DISCONNECTED = 2, DRM_MODE_UNKNOWNCONNECTION = 3 } drmModeConnection; typedef enum { DRM_MODE_SUBPIXEL_UNKNOWN = 1, DRM_MODE_SUBPIXEL_HORIZONTAL_RGB = 2, DRM_MODE_SUBPIXEL_HORIZONTAL_BGR = 3, DRM_MODE_SUBPIXEL_VERTICAL_RGB = 4, DRM_MODE_SUBPIXEL_VERTICAL_BGR = 5, DRM_MODE_SUBPIXEL_NONE = 6 } drmModeSubPixel; typedef struct _drmModeConnector { uint32_t connector_id; uint32_t encoder_id; /**< Encoder currently connected to */ uint32_t connector_type; uint32_t connector_type_id; drmModeConnection connection; uint32_t mmWidth, mmHeight; /**< HxW in millimeters */ drmModeSubPixel subpixel; int count_modes; drmModeModeInfoPtr modes; int count_props; uint32_t *props; /**< List of property ids */ uint64_t *prop_values; /**< List of property values */ int count_encoders; uint32_t *encoders; /**< List of encoder ids */ } drmModeConnector, *drmModeConnectorPtr; #define DRM_PLANE_TYPE_OVERLAY 0 #define DRM_PLANE_TYPE_PRIMARY 1 #define DRM_PLANE_TYPE_CURSOR 2 typedef struct _drmModeObjectProperties { uint32_t count_props; uint32_t *props; uint64_t *prop_values; } drmModeObjectProperties, *drmModeObjectPropertiesPtr; typedef struct _drmModePlane { uint32_t count_formats; uint32_t *formats; uint32_t plane_id; uint32_t crtc_id; uint32_t fb_id; uint32_t crtc_x, crtc_y; uint32_t x, y; uint32_t possible_crtcs; uint32_t gamma_size; } drmModePlane, *drmModePlanePtr; typedef struct _drmModePlaneRes { uint32_t count_planes; uint32_t *planes; } drmModePlaneRes, *drmModePlaneResPtr; extern void drmModeFreeModeInfo( drmModeModeInfoPtr ptr ); extern void drmModeFreeResources( drmModeResPtr ptr ); extern void drmModeFreeFB( drmModeFBPtr ptr ); extern void drmModeFreeFB2( drmModeFB2Ptr ptr ); extern void drmModeFreeCrtc( drmModeCrtcPtr ptr ); extern void drmModeFreeConnector( drmModeConnectorPtr ptr ); extern void drmModeFreeEncoder( drmModeEncoderPtr ptr ); extern void drmModeFreePlane( drmModePlanePtr ptr ); extern void drmModeFreePlaneResources(drmModePlaneResPtr ptr); /** * Retrieves all of the resources associated with a card. */ extern drmModeResPtr drmModeGetResources(int fd); /* * FrameBuffer manipulation. */ /** * Retrieve information about framebuffer bufferId */ extern drmModeFBPtr drmModeGetFB(int fd, uint32_t bufferId); extern drmModeFB2Ptr drmModeGetFB2(int fd, uint32_t bufferId); /** * Creates a new framebuffer with an buffer object as its scanout buffer. */ extern int drmModeAddFB(int fd, uint32_t width, uint32_t height, uint8_t depth, uint8_t bpp, uint32_t pitch, uint32_t bo_handle, uint32_t *buf_id); /* ...with a specific pixel format */ extern int drmModeAddFB2(int fd, uint32_t width, uint32_t height, uint32_t pixel_format, const uint32_t bo_handles[4], const uint32_t pitches[4], const uint32_t offsets[4], uint32_t *buf_id, uint32_t flags); /* ...with format modifiers */ int drmModeAddFB2WithModifiers(int fd, uint32_t width, uint32_t height, uint32_t pixel_format, const uint32_t bo_handles[4], const uint32_t pitches[4], const uint32_t offsets[4], const uint64_t modifier[4], uint32_t *buf_id, uint32_t flags); /** * Destroies the given framebuffer. */ extern int drmModeRmFB(int fd, uint32_t bufferId); /** * Mark a region of a framebuffer as dirty. */ extern int drmModeDirtyFB(int fd, uint32_t bufferId, drmModeClipPtr clips, uint32_t num_clips); /* * Crtc functions */ /** * Retrieve information about the ctrt crtcId */ extern drmModeCrtcPtr drmModeGetCrtc(int fd, uint32_t crtcId); /** * Set the mode on a crtc crtcId with the given mode modeId. */ int drmModeSetCrtc(int fd, uint32_t crtcId, uint32_t bufferId, uint32_t x, uint32_t y, uint32_t *connectors, int count, drmModeModeInfoPtr mode); /* * Cursor functions */ /** * Set the cursor on crtc */ int drmModeSetCursor(int fd, uint32_t crtcId, uint32_t bo_handle, uint32_t width, uint32_t height); int drmModeSetCursor2(int fd, uint32_t crtcId, uint32_t bo_handle, uint32_t width, uint32_t height, int32_t hot_x, int32_t hot_y); /** * Move the cursor on crtc */ int drmModeMoveCursor(int fd, uint32_t crtcId, int x, int y); /** * Encoder functions */ drmModeEncoderPtr drmModeGetEncoder(int fd, uint32_t encoder_id); /* * Connector manipulation */ /** * Retrieve all information about the connector connectorId. This will do a * forced probe on the connector to retrieve remote information such as EDIDs * from the display device. */ extern drmModeConnectorPtr drmModeGetConnector(int fd, uint32_t connectorId); /** * Retrieve current information, i.e the currently active mode and encoder, * about the connector connectorId. This will not do any probing on the * connector or remote device, and only reports what is currently known. * For the complete set of modes and encoders associated with the connector * use drmModeGetConnector() which will do a probe to determine any display * link changes first. */ extern drmModeConnectorPtr drmModeGetConnectorCurrent(int fd, uint32_t connector_id); /** * Attaches the given mode to an connector. */ extern int drmModeAttachMode(int fd, uint32_t connectorId, drmModeModeInfoPtr mode_info); /** * Detaches a mode from the connector * must be unused, by the given mode. */ extern int drmModeDetachMode(int fd, uint32_t connectorId, drmModeModeInfoPtr mode_info); extern drmModePropertyPtr drmModeGetProperty(int fd, uint32_t propertyId); extern void drmModeFreeProperty(drmModePropertyPtr ptr); extern drmModePropertyBlobPtr drmModeGetPropertyBlob(int fd, uint32_t blob_id); extern void drmModeFreePropertyBlob(drmModePropertyBlobPtr ptr); extern int drmModeConnectorSetProperty(int fd, uint32_t connector_id, uint32_t property_id, uint64_t value); extern int drmCheckModesettingSupported(const char *busid); extern int drmModeCrtcSetGamma(int fd, uint32_t crtc_id, uint32_t size, uint16_t *red, uint16_t *green, uint16_t *blue); extern int drmModeCrtcGetGamma(int fd, uint32_t crtc_id, uint32_t size, uint16_t *red, uint16_t *green, uint16_t *blue); extern int drmModePageFlip(int fd, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, void *user_data); extern int drmModePageFlipTarget(int fd, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, void *user_data, uint32_t target_vblank); extern drmModePlaneResPtr drmModeGetPlaneResources(int fd); extern drmModePlanePtr drmModeGetPlane(int fd, uint32_t plane_id); extern int drmModeSetPlane(int fd, uint32_t plane_id, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, int32_t crtc_x, int32_t crtc_y, uint32_t crtc_w, uint32_t crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h); extern drmModeObjectPropertiesPtr drmModeObjectGetProperties(int fd, uint32_t object_id, uint32_t object_type); extern void drmModeFreeObjectProperties(drmModeObjectPropertiesPtr ptr); extern int drmModeObjectSetProperty(int fd, uint32_t object_id, uint32_t object_type, uint32_t property_id, uint64_t value); typedef struct _drmModeAtomicReq drmModeAtomicReq, *drmModeAtomicReqPtr; extern drmModeAtomicReqPtr drmModeAtomicAlloc(void); extern drmModeAtomicReqPtr drmModeAtomicDuplicate(drmModeAtomicReqPtr req); extern int drmModeAtomicMerge(drmModeAtomicReqPtr base, drmModeAtomicReqPtr augment); extern void drmModeAtomicFree(drmModeAtomicReqPtr req); extern int drmModeAtomicGetCursor(drmModeAtomicReqPtr req); extern void drmModeAtomicSetCursor(drmModeAtomicReqPtr req, int cursor); extern int drmModeAtomicAddProperty(drmModeAtomicReqPtr req, uint32_t object_id, uint32_t property_id, uint64_t value); extern int drmModeAtomicCommit(int fd, drmModeAtomicReqPtr req, uint32_t flags, void *user_data); extern int drmModeCreatePropertyBlob(int fd, const void *data, size_t size, uint32_t *id); extern int drmModeDestroyPropertyBlob(int fd, uint32_t id); /* * DRM mode lease APIs. These create and manage new drm_masters with * access to a subset of the available DRM resources */ extern int drmModeCreateLease(int fd, const uint32_t *objects, int num_objects, int flags, uint32_t *lessee_id); typedef struct drmModeLesseeList { uint32_t count; uint32_t lessees[0]; } drmModeLesseeListRes, *drmModeLesseeListPtr; extern drmModeLesseeListPtr drmModeListLessees(int fd); typedef struct drmModeObjectList { uint32_t count; uint32_t objects[0]; } drmModeObjectListRes, *drmModeObjectListPtr; extern drmModeObjectListPtr drmModeGetLease(int fd); extern int drmModeRevokeLease(int fd, uint32_t lessee_id); #if defined(__cplusplus) } #endif #endif