drm/nouveau/core: extend width of engine mask for namedb
authorBen Skeggs <bskeggs@redhat.com>
Wed, 5 Feb 2014 01:18:38 +0000 (11:18 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 26 Mar 2014 03:59:33 +0000 (13:59 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/core/namedb.c
drivers/gpu/drm/nouveau/core/include/core/namedb.h

index 1ce95a8709df7763ad24f93f9cb21b61e44e34aa..0594a599f6fb1d9aafbacdb6fa5ae2178b30e4ea 100644 (file)
@@ -167,7 +167,7 @@ int
 nouveau_namedb_create_(struct nouveau_object *parent,
                       struct nouveau_object *engine,
                       struct nouveau_oclass *oclass, u32 pclass,
-                      struct nouveau_oclass *sclass, u32 engcls,
+                      struct nouveau_oclass *sclass, u64 engcls,
                       int length, void **pobject)
 {
        struct nouveau_namedb *namedb;
index 8897e08860853b5ea8f4db291a152534da973141..f5b5fd8e1fc9083b9f72a5b7ddb985a3fc0f6d0e 100644 (file)
@@ -33,7 +33,7 @@ nv_namedb(void *obj)
 
 int  nouveau_namedb_create_(struct nouveau_object *, struct nouveau_object *,
                            struct nouveau_oclass *, u32 pclass,
-                           struct nouveau_oclass *, u32 engcls,
+                           struct nouveau_oclass *, u64 engcls,
                            int size, void **);
 
 int  _nouveau_namedb_ctor(struct nouveau_object *, struct nouveau_object *,