From 727e86c06d7d829de75cf82828cc623d65e3a659 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: (cherry picked from commit 03c4a46fe5511d09b5b99a0a370e8f308a892549) --- .pick_status.json | 2 +- include/drm-uapi/nouveau_drm.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 6656b5e1865..870e5a4fdf8 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1504,7 +1504,7 @@ "description": "drm-uapi: Sync nouveau_drm.h", "nominated": false, "nomination_type": 3, - "resolution": 4, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null 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;