mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
nouveau/headers: Handle Ampere A GPFIFO in dumper
GPFIFO class changed a bit with the years and some things doesn't parse well on those traces so let's allow to decode with Ampere A GPFIFO if we are decoding Ampere or later. 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:
parent
8b87207135
commit
2c5abf9512
1 changed files with 5 additions and 1 deletions
|
|
@ -20,6 +20,7 @@
|
|||
#include "nv_push_clc1b5.h"
|
||||
#include "nv_push_clc397.h"
|
||||
#include "nv_push_clc3c0.h"
|
||||
#include "nv_push_clc56f.h"
|
||||
#include "nv_push_clc597.h"
|
||||
#include "nv_push_clc5b5.h"
|
||||
#include "nv_push_clc5c0.h"
|
||||
|
|
@ -166,7 +167,10 @@ vk_push_print(FILE *fp, const struct nv_push *push,
|
|||
while (count--) {
|
||||
if (!is_tert) {
|
||||
if (mthd < 0x100) {
|
||||
mthd_name = P_PARSE_NV906F_MTHD(mthd);
|
||||
if (devinfo->cls_eng3d >= 0xc597)
|
||||
mthd_name = P_PARSE_NVC56F_MTHD(mthd);
|
||||
else
|
||||
mthd_name = P_PARSE_NV906F_MTHD(mthd);
|
||||
} else {
|
||||
int class_id = curr_subchans[subchan];
|
||||
int cls_lo = class_id & 0xff;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue