nouveau: Handle video decode in nv_push_print()

Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36641>
This commit is contained in:
Daniel Almeida
2024-10-29 18:02:24 -03:00
committed by Marge Bot
parent 4bb256e5ac
commit e2872a0ab0
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -22,6 +22,7 @@
#include "nv_push_clc3c0.h"
#include "nv_push_clc597.h"
#include "nv_push_clc5c0.h"
#include "nv_push_clc5b0.h"
#include "nv_push_clc697.h"
#include "nv_push_clc6c0.h"
#include "nv_push_clc797.h"
@@ -221,6 +222,9 @@ vk_push_print(FILE *fp, const struct nv_push *push,
else
mthd_name = P_PARSE_NV90B5_MTHD(mthd);
break;
case 0xb0:
mthd_name = P_PARSE_NVC5B0_MTHD(mthd);
break;
default:
mthd_name = "unknown method";
break;
@@ -275,6 +279,9 @@ vk_push_print(FILE *fp, const struct nv_push *push,
else
P_DUMP_NV90B5_MTHD_DATA(fp, mthd, value, "\t\t");
break;
case 0xb0:
P_DUMP_NVC5B0_MTHD_DATA(fp, mthd, value, "\t\t");
break;
default:
fprintf(fp, "%s.VALUE = 0x%x\n", "\t\t", value);
break;
+1
View File
@@ -20,6 +20,7 @@
#include "clc997.h"
#include "clcb97.h"
#include "clc5b0.h"
#include "cla0c0.h"
#include "clb0c0.h"
#include "clc0c0.h"