From 03c4a46fe5511d09b5b99a0a370e8f308a892549 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Wed, 8 May 2024 17:23:08 -0500 Subject: [PATCH] drm-uapi: Sync nouveau_drm.h Taken from drm-misc-next-fixes: commit 959314c438caf1b62d787f02d54a193efda38880 Author: Mohamed Ahmed Date: Thu May 9 23:43:52 2024 +0300 drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations Reviewed-by: Dave Airlie Part-of: --- include/drm-uapi/nouveau_drm.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/drm-uapi/nouveau_drm.h b/include/drm-uapi/nouveau_drm.h index 8ad8d1cd156..dd87f8f3079 100644 --- a/include/drm-uapi/nouveau_drm.h +++ b/include/drm-uapi/nouveau_drm.h @@ -68,6 +68,13 @@ extern "C" { */ #define NOUVEAU_GETPARAM_VRAM_USED 19 +/* + * NOUVEAU_GETPARAM_HAS_VMA_TILEMODE + * + * Query whether tile mode and PTE kind are accepted with VM allocs or not. + */ +#define NOUVEAU_GETPARAM_HAS_VMA_TILEMODE 20 + struct drm_nouveau_getparam { __u64 param; __u64 value;