forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gm200.c
....@@ -27,7 +27,7 @@
2727 #include <nvif/class.h>
2828
2929 const u8 *
30
-gm200_mmu_kind(struct nvkm_mmu *mmu, int *count)
30
+gm200_mmu_kind(struct nvkm_mmu *mmu, int *count, u8 *invalid)
3131 {
3232 static const u8
3333 kind[256] = {
....@@ -65,6 +65,7 @@
6565 0xfe, 0xfe, 0xfe, 0xfe, 0xff, 0xfd, 0xfe, 0xff
6666 };
6767 *count = ARRAY_SIZE(kind);
68
+ *invalid = 0xff;
6869 return kind;
6970 }
7071