Name Date Size #Lines LOC

..--

READMEH A D25-Apr-20251.6 KiB4228

amdgpu_drm.hH A D25-Apr-202539.2 KiB1,291762

d3dkmthk.hH A D25-Apr-202541.1 KiB1,7951,611

dma-buf.hH A D25-Apr-20257.5 KiB20143

drm.hH A D25-Apr-202544.6 KiB1,409640

drm_fourcc.hH A D25-Apr-202567.8 KiB1,590350

drm_mode.hH A D25-Apr-202540.2 KiB1,358527

etnaviv_drm.hH A D25-Apr-202511.7 KiB301189

gpu_scheduler.hH A D25-Apr-20251.6 KiB4511

i915_drm.hH A D25-Apr-2025128.6 KiB3,9171,055

lima_drm.hH A D25-Apr-20254.9 KiB177112

msm_drm.hH A D25-Apr-202516.1 KiB403225

nouveau_drm.hH A D25-Apr-202514.7 KiB521251

panfrost_drm.hH A D25-Apr-20258.4 KiB286159

panthor_drm.hH A D25-Apr-202528 KiB985258

pvr_drm.hH A D25-Apr-202539.2 KiB1,296283

sync_file.hH A D25-Apr-20253.1 KiB11844

tegra_drm.hH A D25-Apr-202521.1 KiB1,061250

v3d_drm.hH A D25-Apr-202523.1 KiB773341

vc4_drm.hH A D25-Apr-202514.1 KiB443221

virtgpu_drm.hH A D25-Apr-20257.7 KiB271190

xe_drm.hH A D25-Apr-202556.2 KiB1,702400

README

1This directory contains a copy of the installed kernel headers
2required by several drivers to communicate with the kernel.
3Whenever one of those driver needs new definitions for new kernel
4APIs, these files should be updated.
5
6These files in upstream Mesa should only be updated once the changes
7have landed in the drm-next branch of the drm repository.
8
9The drm repository is currently located at:
10
11 * https://gitlab.freedesktop.org/drm/kernel
12
13 * git url: https://gitlab.freedesktop.org/drm/kernel.git
14
15Tagged Linux kernel releases can also be used.
16
17When using the drm repository, it is recommended that the headers are
18generated using a *merge commit* in the drm-next branch. After
19checking out the commit in the drm (or tagged Linux release) tree, the
20drm-uapi files can be generated by running this from the drm tree:
21
22$ make headers_install INSTALL_HDR_PATH=/path/to/install
23
24This will generate files under /path/to/install/include/drm which can
25be copied into the Mesa include/drm-uapi directory. It is not required
26to copy/update all kernel header files.
27
28The commit message for the Mesa drm-uapi update should include the
29full commit version of the drm kernel tree. An easy way to generate
30this is with the following command in the drm tree:
31
32$ git log -1 --pretty=short --no-decorate
33
34Which would produce output similar to this to include in the Mesa
35commit:
36
37commit a78313bb206e0c456a989f380c4cbd8af8af7c76
38Merge: 365aa9f57399 79655e867ad6
39Author: Dave Airlie <[email protected]>
40
41    Merge tag 'drm-intel-gt-next-2024-06-12' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next
42