From: Dave Airlie Date: Fri, 10 Jun 2022 21:07:32 +0000 (+1000) Subject: nouveau/vk: add support for compute classes to generator. X-Git-Tag: upstream/23.3.3~4537 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd8077bef503a60791fee185730ee87f12ff4c0a;p=platform%2Fupstream%2Fmesa.git nouveau/vk: add support for compute classes to generator. Part-of: --- diff --git a/src/nouveau/nvidia-headers/meson.build b/src/nouveau/nvidia-headers/meson.build index d0febf2..dd89989 100644 --- a/src/nouveau/nvidia-headers/meson.build +++ b/src/nouveau/nvidia-headers/meson.build @@ -7,6 +7,9 @@ nvk_classes = [ 'cl90b5', 'cla0b5', 'clc1b5', + 'cla0c0', + 'clc0c0', + 'clc3c0' ] nvk_cl_header_depend_files = [ diff --git a/src/nouveau/winsys/nouveau_push.h b/src/nouveau/winsys/nouveau_push.h index b6fab9e..502d57c 100644 --- a/src/nouveau/winsys/nouveau_push.h +++ b/src/nouveau/winsys/nouveau_push.h @@ -31,6 +31,10 @@ int nouveau_ws_push_submit(struct nouveau_ws_push *, struct nouveau_ws_device *, void nouveau_ws_push_ref(struct nouveau_ws_push *, struct nouveau_ws_bo *, enum nouveau_ws_bo_map_flags); void nouveau_ws_push_reset(struct nouveau_ws_push *); +#define SUBC_NVA0C0 1 +#define SUBC_NVC0C0 1 +#define SUBC_NVC3C0 1 + #define SUBC_NV902D 3 #define SUBC_NV90B5 4