1 #ifndef __NV40_GRAPH_H__
2 #define __NV40_GRAPH_H__
4 #include <core/device.h>
5 #include <core/gpuobj.h>
7 /* returns 1 if device is one of the nv4x using the 0x4497 object class,
8 * helpful to determine a number of other hardware features
11 nv44_graph_class(void *priv
)
13 struct nouveau_device
*device
= nv_device(priv
);
15 if ((device
->chipset
& 0xf0) == 0x60)
18 return !(0x0baf & (1 << (device
->chipset
& 0x0f)));
21 int nv40_grctx_init(struct nouveau_device
*, u32
*size
);
22 void nv40_grctx_fill(struct nouveau_device
*, struct nouveau_gpuobj
*);
This page took 0.044894 seconds and 5 git commands to generate.