mirror of https://gitlab.freedesktop.org/mesa/mesa
nouveau: nvidia_header: Add AMPERE_B class generation
We only have SPHv4 definition for Ampere, add parsing of it. Also make vk_push_print supports it. Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29034>
This commit is contained in:
parent
784407f932
commit
170b09790a
|
@ -22,6 +22,7 @@ nv_classes = [
|
|||
'clc5c0',
|
||||
'clc697',
|
||||
'clc6c0',
|
||||
'clc797',
|
||||
'clc7c0',
|
||||
]
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "nv_push_clc5c0.h"
|
||||
#include "nv_push_clc697.h"
|
||||
#include "nv_push_clc6c0.h"
|
||||
#include "nv_push_clc797.h"
|
||||
#include "nv_push_clc7c0.h"
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
@ -154,7 +155,9 @@ vk_push_print(FILE *fp, const struct nv_push *push,
|
|||
} else {
|
||||
switch (subchan) {
|
||||
case 0:
|
||||
if (devinfo->cls_eng3d >= 0xc697)
|
||||
if (devinfo->cls_eng3d >= 0xc797)
|
||||
mthd_name = P_PARSE_NVC797_MTHD(mthd);
|
||||
else if (devinfo->cls_eng3d >= 0xc697)
|
||||
mthd_name = P_PARSE_NVC697_MTHD(mthd);
|
||||
else if (devinfo->cls_eng3d >= 0xc597)
|
||||
mthd_name = P_PARSE_NVC597_MTHD(mthd);
|
||||
|
|
Loading…
Reference in New Issue