forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/gpu/drm/nouveau/include/nvkm/subdev/bar.h
....@@ -1,4 +1,4 @@
1
-/* SPDX-License-Identifier: GPL-2.0 */
1
+/* SPDX-License-Identifier: MIT */
22 #ifndef __NVKM_BAR_H__
33 #define __NVKM_BAR_H__
44 #include <core/subdev.h>
....@@ -16,8 +16,10 @@
1616 };
1717
1818 struct nvkm_vmm *nvkm_bar_bar1_vmm(struct nvkm_device *);
19
+void nvkm_bar_bar1_reset(struct nvkm_device *);
1920 void nvkm_bar_bar2_init(struct nvkm_device *);
2021 void nvkm_bar_bar2_fini(struct nvkm_device *);
22
+void nvkm_bar_bar2_reset(struct nvkm_device *);
2123 struct nvkm_vmm *nvkm_bar_bar2_vmm(struct nvkm_device *);
2224 void nvkm_bar_flush(struct nvkm_bar *);
2325
....@@ -27,4 +29,5 @@
2729 int gk20a_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
2830 int gm107_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
2931 int gm20b_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
32
+int tu102_bar_new(struct nvkm_device *, int, struct nvkm_bar **);
3033 #endif