drm/nouveau/graph: add GK20A support
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / nouveau / core / engine / graph / nve4.c
index f7c0112171750253214a111931e7ffe3bb9c1c81..51e0c075ad342878b876f2828db31cd19a82aa9b 100644 (file)
@@ -151,7 +151,7 @@ nve4_graph_init_be_0[] = {
        {}
 };
 
-static const struct nvc0_graph_pack
+const struct nvc0_graph_pack
 nve4_graph_pack_mmio[] = {
        { nve4_graph_init_main_0 },
        { nvc0_graph_init_fe_0 },
@@ -189,7 +189,7 @@ nve4_graph_pack_mmio[] = {
  * PGRAPH engine/subdev functions
  ******************************************************************************/
 
-static int
+int
 nve4_graph_fini(struct nouveau_object *object, bool suspend)
 {
        struct nvc0_graph_priv *priv = (void *)object;