]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/nouveau/core/subdev/instmem/nv40.c
drm/nouveau: remove duplicate copy of nv44_graph_class
[karo-tx-linux.git] / drivers / gpu / drm / nouveau / core / subdev / instmem / nv40.c
index 716bf41bc3c107041f2b327e52943c873c735d42..b10a143787a7af95af24475f78fa52de7c7a641f 100644 (file)
  * Authors: Ben Skeggs
  */
 
-#include "nv04.h"
+#include <engine/graph/nv40.h>
 
-static inline int
-nv44_graph_class(struct nv04_instmem_priv *priv)
-{
-       if ((nv_device(priv)->chipset & 0xf0) == 0x60)
-               return 1;
-       return !(0x0baf & (1 << (nv_device(priv)->chipset & 0x0f)));
-}
+#include "nv04.h"
 
 static int
 nv40_instmem_ctor(struct nouveau_object *parent, struct nouveau_object *engine,