nouveau: nvidia_header: Add AMPERE_COMPUTE_B in vk_push_print

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27126>
This commit is contained in:
Mary Guillemard 2023-10-18 12:44:13 +02:00 committed by Marge Bot
parent 20b3f9521e
commit 2cc9ad0e5c
2 changed files with 5 additions and 1 deletions

View file

@ -21,6 +21,7 @@ nvk_classes = [
'clc5c0',
'clc697',
'clc6c0',
'clc7c0',
]
nvk_cl_header_depend_files = [

View file

@ -20,6 +20,7 @@
#include "nvk_clc5c0.h"
#include "nvk_clc697.h"
#include "nvk_clc6c0.h"
#include "nvk_clc7c0.h"
#ifndef NDEBUG
void
@ -123,7 +124,9 @@ vk_push_print(FILE *fp, const struct nv_push *push,
mthd_name = P_PARSE_NV9097_MTHD(mthd);
break;
case 1:
if (devinfo->cls_compute >= 0xc6c0)
if (devinfo->cls_compute >= 0xc7c0)
mthd_name = P_PARSE_NVC7C0_MTHD(mthd);
else if (devinfo->cls_compute >= 0xc6c0)
mthd_name = P_PARSE_NVC6C0_MTHD(mthd);
else if (devinfo->cls_compute >= 0xc5c0)
mthd_name = P_PARSE_NVC5C0_MTHD(mthd);