1#ifndef __NV20_GR_H__ 2#define __NV20_GR_H__ 3#include <engine/gr.h> 4 5struct nv20_gr_priv { 6 struct nvkm_gr base; 7 struct nvkm_gpuobj *ctxtab; 8}; 9 10struct nv20_gr_chan { 11 struct nvkm_gr_chan base; 12 int chid; 13}; 14 15extern struct nvkm_oclass nv25_gr_sclass[]; 16int nv20_gr_context_init(struct nvkm_object *); 17int nv20_gr_context_fini(struct nvkm_object *, bool); 18 19void nv20_gr_tile_prog(struct nvkm_engine *, int); 20void nv20_gr_intr(struct nvkm_subdev *); 21 22void nv20_gr_dtor(struct nvkm_object *); 23int nv20_gr_init(struct nvkm_object *); 24 25int nv30_gr_init(struct nvkm_object *); 26#endif 27