Hi Janne,
On 2026-01-05 at 22:03:45 +0100, Janne Grunau wrote:
> Import asahi_drm.h from commit 8f0b4cce4481 ("Linux 6.19-rc1").
> "asahi_drm.h" was added for Linux 6.16 and has not been modified so far.
> The kernel driver will be sent upstream in the next few days. The
> userspace drivers (OpenGL, OpenCl and Vulkan) are available in
> mesa 25.2 and later.
>
+cc Alyssa and Neal
> Signed-off-by: Janne Grunau <[email protected]>
> ---
> include/drm-uapi/asahi_drm.h | 1194
> ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 1194 insertions(+)
>
> diff --git a/include/drm-uapi/asahi_drm.h b/include/drm-uapi/asahi_drm.h
> new file mode 100644
> index
> 0000000000000000000000000000000000000000..de67f1c603afd42753982c7ed593619f394df527
> --- /dev/null
> +++ b/include/drm-uapi/asahi_drm.h
> @@ -0,0 +1,1194 @@
> +/* SPDX-License-Identifier: MIT */
Note style comment in C headers. The same should be used in IGT
headers.
> +/*
> + * Copyright (C) The Asahi Linux Contributors
Strange, no year here? As it comes from kernel let it be as is.
Reviewed-by: Kamil Konieczny <[email protected]>
Regards,
Kamil
> + * Copyright (C) 2018-2023 Collabora Ltd.
> + * Copyright (C) 2014-2018 Broadcom
> + */
> +#ifndef _ASAHI_DRM_H_
> +#define _ASAHI_DRM_H_
> +
> +#include "drm.h"
> +
> +#if defined(__cplusplus)
> +extern "C" {
> +#endif
> +
> +/**
> + * DOC: Introduction to the Asahi UAPI
> + *
> + * This documentation describes the Asahi IOCTLs.
> + *
> + * Just a few generic rules about the data passed to the Asahi IOCTLs
> (cribbed
> + * from Panthor):
> + *
[cut]