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 */2 2 #ifndef __NVKM_GR_PRIV_H__ 3 3 #define __NVKM_GR_PRIV_H__ 4 4 #define nvkm_gr(p) container_of((p), struct nvkm_gr, engine) .. .. @@ -27,6 +27,11 @@ 27 27 */ 28 28 u64 (*units)(struct nvkm_gr *); 29 29 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;30 35 struct nvkm_sclass sclass[]; 31 36 }; 32 37