3 #define nv40_gr(p) container_of((p), struct nv40_gr, base)
12 #define nv40_gr_chan(p) container_of((p), struct nv40_gr_chan, object)
15 struct nvkm_object object
;
17 struct nvkm_fifo_chan
*fifo
;
19 struct list_head head
;
22 /* returns 1 if device is one of the nv4x using the 0x4497 object class,
23 * helpful to determine a number of other hardware features
26 nv44_gr_class(void *priv
)
28 struct nvkm_device
*device
= nv_device(priv
);
30 if ((device
->chipset
& 0xf0) == 0x60)
33 return !(0x0baf & (1 << (device
->chipset
& 0x0f)));
36 int nv40_grctx_init(struct nvkm_device
*, u32
*size
);
37 void nv40_grctx_fill(struct nvkm_device
*, struct nvkm_gpuobj
*);
This page took 0.030544 seconds and 5 git commands to generate.