mesa/src/nouveau/compiler/nak_bindings.h
Yiwei Zhang 0d5a2f92ca nak: do not hide drm header on Android
libdrm exists on Android and drm header is needed as well. The proper
way for cross-compile now is to use "-Dallow-fallback-for=libdrm" so
that the subproject can be fetched accordingly.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36386>
2025-07-29 16:29:58 +00:00

20 lines
377 B
C

/*
* Copyright © 2022 Collabora, Ltd.
* SPDX-License-Identifier: MIT
*/
#include "nak_private.h"
#include "nouveau_bo.h"
#include "nouveau_context.h"
#include "nouveau_device.h"
#include <xf86drm.h>
#include "drm-uapi/nouveau_drm.h"
#define DRM_RS_IOCTL(FOO) \
DRM_RS_IOCTL_##FOO = DRM_IOCTL_##FOO
enum ENUM_PACKED drm_rs_ioctls {
DRM_RS_IOCTL(NOUVEAU_EXEC),
};