nouveau/headers: Properly parse DMA classes for Turing and Ampere A

Signed-off-by: Mary Guillemard <mary@mary.zone>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36093>
This commit is contained in:
Mary Guillemard
2025-07-21 17:34:32 +02:00
committed by Marge Bot
parent 3ec7615e54
commit 930e17dfe9
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -24,8 +24,10 @@ nv_classes = [
'clc56f',
'clc597',
'clc5b0',
'clc5b5',
'clc5c0',
'clc697',
'clc6b5',
'clc6c0',
'clc797',
'clc7b0',
+6
View File
@@ -21,9 +21,11 @@
#include "nv_push_clc397.h"
#include "nv_push_clc3c0.h"
#include "nv_push_clc597.h"
#include "nv_push_clc5b5.h"
#include "nv_push_clc5c0.h"
#include "nv_push_clc5b0.h"
#include "nv_push_clc697.h"
#include "nv_push_clc6b5.h"
#include "nv_push_clc6c0.h"
#include "nv_push_clc797.h"
#include "nv_push_clc7c0.h"
@@ -215,6 +217,10 @@ vk_push_print(FILE *fp, const struct nv_push *push,
case 0xb5:
if (cls_hi >= 0xca)
mthd_name = P_PARSE_NVCAB5_MTHD(mthd);
else if (cls_hi >= 0xc6)
mthd_name = P_PARSE_NVC6B5_MTHD(mthd);
else if (cls_hi >= 0xc5)
mthd_name = P_PARSE_NVC5B5_MTHD(mthd);
else if (cls_hi >= 0xc1)
mthd_name = P_PARSE_NVC1B5_MTHD(mthd);
else if (cls_hi >= 0xa0)