|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| README | H A D | 25-Apr-2025 | 1.6 KiB | 42 | 28 |
| amdgpu_drm.h | H A D | 25-Apr-2025 | 39.2 KiB | 1,291 | 762 |
| d3dkmthk.h | H A D | 25-Apr-2025 | 41.1 KiB | 1,795 | 1,611 |
| dma-buf.h | H A D | 25-Apr-2025 | 7.5 KiB | 201 | 43 |
| drm.h | H A D | 25-Apr-2025 | 44.6 KiB | 1,409 | 640 |
| drm_fourcc.h | H A D | 25-Apr-2025 | 67.8 KiB | 1,590 | 350 |
| drm_mode.h | H A D | 25-Apr-2025 | 40.2 KiB | 1,358 | 527 |
| etnaviv_drm.h | H A D | 25-Apr-2025 | 11.7 KiB | 301 | 189 |
| gpu_scheduler.h | H A D | 25-Apr-2025 | 1.6 KiB | 45 | 11 |
| i915_drm.h | H A D | 25-Apr-2025 | 128.6 KiB | 3,917 | 1,055 |
| lima_drm.h | H A D | 25-Apr-2025 | 4.9 KiB | 177 | 112 |
| msm_drm.h | H A D | 25-Apr-2025 | 16.1 KiB | 403 | 225 |
| nouveau_drm.h | H A D | 25-Apr-2025 | 14.7 KiB | 521 | 251 |
| panfrost_drm.h | H A D | 25-Apr-2025 | 8.4 KiB | 286 | 159 |
| panthor_drm.h | H A D | 25-Apr-2025 | 28 KiB | 985 | 258 |
| pvr_drm.h | H A D | 25-Apr-2025 | 39.2 KiB | 1,296 | 283 |
| sync_file.h | H A D | 25-Apr-2025 | 3.1 KiB | 118 | 44 |
| tegra_drm.h | H A D | 25-Apr-2025 | 21.1 KiB | 1,061 | 250 |
| v3d_drm.h | H A D | 25-Apr-2025 | 23.1 KiB | 773 | 341 |
| vc4_drm.h | H A D | 25-Apr-2025 | 14.1 KiB | 443 | 221 |
| virtgpu_drm.h | H A D | 25-Apr-2025 | 7.7 KiB | 271 | 190 |
| xe_drm.h | H A D | 25-Apr-2025 | 56.2 KiB | 1,702 | 400 |
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