diff options
Diffstat (limited to 'nvkm/engine/graph/nv40.h')
-rw-r--r-- | nvkm/engine/graph/nv40.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/nvkm/engine/graph/nv40.h b/nvkm/engine/graph/nv40.h deleted file mode 100644 index ad8209377..000000000 --- a/nvkm/engine/graph/nv40.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef __NV40_GRAPH_H__ -#define __NV40_GRAPH_H__ - -#include <core/device.h> -#include <core/gpuobj.h> - -/* returns 1 if device is one of the nv4x using the 0x4497 object class, - * helpful to determine a number of other hardware features - */ -static inline int -nv44_graph_class(void *priv) -{ - struct nouveau_device *device = nv_device(priv); - - if ((device->chipset & 0xf0) == 0x60) - return 1; - - return !(0x0baf & (1 << (device->chipset & 0x0f))); -} - -int nv40_grctx_init(struct nouveau_device *, u32 *size); -void nv40_grctx_fill(struct nouveau_device *, struct nouveau_gpuobj *); - -#endif |