Module: Mesa Branch: main Commit: 0756a13aba7815ba86665f2a588a871e20d4c0ab URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0756a13aba7815ba86665f2a588a871e20d4c0ab
Author: Faith Ekstrand <[email protected]> Date: Wed Sep 27 16:16:34 2023 -0500 drm-uapi: Sync nouveau_drm.h >From https://cgit.freedesktop.org/drm-misc/ commit d59e75eef52d89201aaf5342a3ac23ddf3e9b112 Author: Danilo Krummrich <[email protected]> Date: Mon Oct 2 15:46:48 2023 +0200 drm/nouveau: exec: report max pushs through getparam Reviewed-by: Danilo Krummrich <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25444> --- include/drm-uapi/nouveau_drm.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/drm-uapi/nouveau_drm.h b/include/drm-uapi/nouveau_drm.h index 8d7402c13e5..eaf9f248619 100644 --- a/include/drm-uapi/nouveau_drm.h +++ b/include/drm-uapi/nouveau_drm.h @@ -44,6 +44,16 @@ extern "C" { #define NOUVEAU_GETPARAM_PTIMER_TIME 14 #define NOUVEAU_GETPARAM_HAS_BO_USAGE 15 #define NOUVEAU_GETPARAM_HAS_PAGEFLIP 16 + +/** + * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX + * + * Query the maximum amount of IBs that can be pushed through a single + * &drm_nouveau_exec structure and hence a single &DRM_IOCTL_NOUVEAU_EXEC + * ioctl(). + */ +#define NOUVEAU_GETPARAM_EXEC_PUSH_MAX 17 + struct drm_nouveau_getparam { __u64 param; __u64 value;
