forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h
....@@ -1,4 +1,4 @@
1
-/* SPDX-License-Identifier: GPL-2.0 */
1
+/* SPDX-License-Identifier: MIT */
22 #ifndef __NVKM_GR_PRIV_H__
33 #define __NVKM_GR_PRIV_H__
44 #define nvkm_gr(p) container_of((p), struct nvkm_gr, engine)
....@@ -27,6 +27,11 @@
2727 */
2828 u64 (*units)(struct nvkm_gr *);
2929 bool (*chsw_load)(struct nvkm_gr *);
30
+ struct {
31
+ int (*pause)(struct nvkm_gr *);
32
+ int (*resume)(struct nvkm_gr *);
33
+ u32 (*inst)(struct nvkm_gr *);
34
+ } ctxsw;
3035 struct nvkm_sclass sclass[];
3136 };
3237