mesa/include/drm-uapi
Arunpravin Paneer Selvam 84f18f31ad
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
amdgpu: Add queue id support to the user queue wait IOCTL
Add queue id support to the user queue wait IOCTL
drm_amdgpu_userq_wait structure.

This is required to retrieve the wait user queue and maintain
the fence driver references in it so that the user queue in
the same context releases their reference to the fence drivers
at some point before queue destruction.

Otherwise, we would gather those references until we
don't have any more space left and crash.

Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Suggested-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34493>
2025-04-18 21:55:53 +00:00
..
amdgpu_drm.h amdgpu: Add queue id support to the user queue wait IOCTL 2025-04-18 21:55:53 +00:00
asahi_drm.h drm-uapi: add asahi uapi 2025-04-09 20:25:49 +00:00
d3dkmthk.h
dma-buf.h
drm.h
drm_fourcc.h drm-uapi: update drm_fourcc.h 2025-03-14 20:51:36 +00:00
drm_mode.h
etnaviv_drm.h
gpu_scheduler.h
i915_drm.h
lima_drm.h
msm_drm.h freedreno: Bump kernel uapi (linux 6.14) 2025-04-04 18:22:48 +00:00
nouveau_drm.h
panfrost_drm.h
panthor_drm.h
pvr_drm.h
radeon_drm.h gallium/radeon: import libdrm_radeon source code, drop the dependency 2024-11-10 00:52:18 +00:00
README
sync_file.h drm-uapi: update licenses statement 2025-01-08 20:37:51 +00:00
tegra_drm.h
v3d_drm.h v3d: Sync v3d_drm.h with drm-misc-next 2024-12-13 12:29:11 +00:00
vc4_drm.h
virtgpu_drm.h drm-uapi: Sync virtgpu header 2025-04-01 22:11:10 +00:00
xe_drm.h drm-uapi: Sync xe_drm.h 2025-04-11 18:35:49 +00:00

This directory contains a copy of the installed kernel headers
required by several drivers to communicate with the kernel.
Whenever one of those driver needs new definitions for new kernel
APIs, these files should be updated.

These files in upstream Mesa should only be updated once the changes
have landed in the drm-next branch of the drm repository.

The drm repository is currently located at:

 * https://gitlab.freedesktop.org/drm/kernel

 * git url: https://gitlab.freedesktop.org/drm/kernel.git

Tagged Linux kernel releases can also be used.

When using the drm repository, it is recommended that the headers are
generated using a *merge commit* in the drm-next branch. After
checking out the commit in the drm (or tagged Linux release) tree, the
drm-uapi files can be generated by running this from the drm tree:

$ make headers_install INSTALL_HDR_PATH=/path/to/install

This will generate files under /path/to/install/include/drm which can
be copied into the Mesa include/drm-uapi directory. It is not required
to copy/update all kernel header files.

The commit message for the Mesa drm-uapi update should include the
full commit version of the drm kernel tree. An easy way to generate
this is with the following command in the drm tree:

$ git log -1 --pretty=short --no-decorate

Which would produce output similar to this to include in the Mesa
commit:

commit a78313bb206e0c456a989f380c4cbd8af8af7c76
Merge: 365aa9f57399 79655e867ad6
Author: Dave Airlie <airlied@redhat.com>

    Merge tag 'drm-intel-gt-next-2024-06-12' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next