]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/gpu/drm/nouveau/nvc0_graph.c
drm/nv50: sync up gr data error names with rnn, use for nvc0 also
[mv-sheeva.git] / drivers / gpu / drm / nouveau / nvc0_graph.c
index 8352d6b92cca2f347e5c5a31aa14198caab1c5a3..43b44a4b3ab88b0b35c627c5d8dbbf754bc79128 100644 (file)
@@ -693,11 +693,6 @@ nvc0_graph_init(struct drm_device *dev)
        return 0;
 }
 
-static struct nouveau_enum nvc0_graph_data_error[] = {
-       { 5, "INVALID_ENUM" },
-       {}
-};
-
 static int
 nvc0_graph_isr_chid(struct drm_device *dev, u64 inst)
 {
@@ -750,7 +745,7 @@ nvc0_graph_isr(struct drm_device *dev)
 
        if (stat & 0x00100000) {
                NV_INFO(dev, "PGRAPH: DATA_ERROR [");
-               nouveau_enum_print(nvc0_graph_data_error, code);
+               nouveau_enum_print(nv50_data_error_names, code);
                printk("] ch %d [0x%010llx] subc %d class 0x%04x "
                       "mthd 0x%04x data 0x%08x\n",
                       chid, inst, subc, class, mthd, data);