]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
drm/nouveau: store engine type in gpuobj class structs
authorBen Skeggs <bskeggs@redhat.com>
Tue, 19 Oct 2010 09:47:06 +0000 (19:47 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:06:52 +0000 (15:06 +1000)
We will eventually want to address hw engines other than PGRAPH.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_object.c
drivers/gpu/drm/nouveau/nv04_graph.c
drivers/gpu/drm/nouveau/nv10_graph.c
drivers/gpu/drm/nouveau/nv20_graph.c
drivers/gpu/drm/nouveau/nv40_graph.c
drivers/gpu/drm/nouveau/nv50_graph.c

index 1d474f526986098679be8200d7825e10854ed98f..2fdc26655ca190e156f9c27f9e7fb2f780ebde46 100644 (file)
@@ -132,7 +132,7 @@ enum nouveau_flags {
 
 #define NVOBJ_ENGINE_SW                0
 #define NVOBJ_ENGINE_GR                1
-#define NVOBJ_ENGINE_DISPLAY   2
+#define NVOBJ_ENGINE_DISPLAY   0xcafe0001
 #define NVOBJ_ENGINE_INT       0xdeadbeef
 
 #define NVOBJ_FLAG_ZERO_ALLOC          (1 << 1)
@@ -324,7 +324,7 @@ struct nouveau_pgraph_object_method {
 
 struct nouveau_pgraph_object_class {
        int id;
-       bool software;
+       u32 engine;
        struct nouveau_pgraph_object_method *methods;
 };
 
index 0b8183edfcd7af9cbc9476eb1b1d8753de913944..70ffd753050333597b3439b87e5b558b63df5cf1 100644 (file)
@@ -900,7 +900,7 @@ int nouveau_ioctl_grobj_alloc(struct drm_device *dev, void *data,
                goto out;
        }
 
-       if (!grc->software)
+       if (grc->engine != NVOBJ_ENGINE_SW)
                ret = nouveau_gpuobj_gr_new(chan, grc->id, &gr);
        else
                ret = nouveau_gpuobj_sw_new(chan, grc->id, &gr);
index 1e2ad39423304b77ad1d2abc072383485cc9aa38..5d8ab1b6b04a6d54c86d54fd2edada92b882ea67 100644 (file)
@@ -1091,48 +1091,48 @@ static struct nouveau_pgraph_object_method nv04_graph_mthds_surf3d[] = {
 };
 
 struct nouveau_pgraph_object_class nv04_graph_grclass[] = {
-       { 0x0038, false, NULL }, /* dvd subpicture */
-       { 0x0039, false, NULL }, /* m2mf */
-       { 0x004b, false, nv04_graph_mthds_nv03_gdirect }, /* nv03 gdirect */
-       { 0x004a, false, nv04_graph_mthds_nv04_gdirect }, /* nv04 gdirect */
-       { 0x001f, false, nv04_graph_mthds_nv01_imageblit }, /* nv01 imageblit */
-       { 0x005f, false, nv04_graph_mthds_nv04_imageblit_ifc }, /* nv04 imageblit */
-       { 0x0060, false, nv04_graph_mthds_nv04_iifc }, /* nv04 iifc */
-       { 0x0064, false, NULL }, /* nv05 iifc */
-       { 0x0021, false, nv04_graph_mthds_nv01_ifc }, /* nv01 ifc */
-       { 0x0061, false, nv04_graph_mthds_nv04_imageblit_ifc }, /* nv04 ifc */
-       { 0x0065, false, NULL }, /* nv05 ifc */
-       { 0x0036, false, nv04_graph_mthds_nv03_sifc }, /* nv03 sifc */
-       { 0x0076, false, nv04_graph_mthds_nv04_sifc }, /* nv04 sifc */
-       { 0x0066, false, NULL }, /* nv05 sifc */
-       { 0x0037, false, nv04_graph_mthds_nv03_sifm }, /* nv03 sifm */
-       { 0x0077, false, nv04_graph_mthds_nv04_sifm }, /* nv04 sifm */
-       { 0x0030, false, NULL }, /* null */
-       { 0x0042, false, NULL }, /* surf2d */
-       { 0x0043, false, NULL }, /* rop */
-       { 0x0012, false, NULL }, /* beta1 */
-       { 0x0072, false, NULL }, /* beta4 */
-       { 0x0019, false, NULL }, /* cliprect */
-       { 0x0018, false, NULL }, /* nv01 pattern */
-       { 0x0044, false, NULL }, /* nv04 pattern */
-       { 0x0052, false, NULL }, /* swzsurf */
-       { 0x0053, false, nv04_graph_mthds_surf3d }, /* surf3d */
-       { 0x0048, false, nv04_graph_mthds_nv03_tex_tri }, /* nv03 tex_tri */
-       { 0x0054, false, NULL }, /* tex_tri */
-       { 0x0055, false, NULL }, /* multitex_tri */
-       { 0x0017, false, NULL }, /* nv01 chroma */
-       { 0x0057, false, NULL }, /* nv04 chroma */
-       { 0x0058, false, NULL }, /* surf_dst */
-       { 0x0059, false, NULL }, /* surf_src */
-       { 0x005a, false, NULL }, /* surf_color */
-       { 0x005b, false, NULL }, /* surf_zeta */
-       { 0x001c, false, nv04_graph_mthds_nv01_shape }, /* nv01 line */
-       { 0x005c, false, nv04_graph_mthds_nv04_shape }, /* nv04 line */
-       { 0x001d, false, nv04_graph_mthds_nv01_shape }, /* nv01 tri */
-       { 0x005d, false, nv04_graph_mthds_nv04_shape }, /* nv04 tri */
-       { 0x001e, false, nv04_graph_mthds_nv01_shape }, /* nv01 rect */
-       { 0x005e, false, nv04_graph_mthds_nv04_shape }, /* nv04 rect */
-       { 0x506e, true, nv04_graph_mthds_sw },
+       { 0x0038, NVOBJ_ENGINE_GR, NULL }, /* dvd subpicture */
+       { 0x0039, NVOBJ_ENGINE_GR, NULL }, /* m2mf */
+       { 0x004b, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv03_gdirect }, /* nv03 gdirect */
+       { 0x004a, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv04_gdirect }, /* nv04 gdirect */
+       { 0x001f, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv01_imageblit }, /* nv01 imageblit */
+       { 0x005f, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv04_imageblit_ifc }, /* nv04 imageblit */
+       { 0x0060, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv04_iifc }, /* nv04 iifc */
+       { 0x0064, NVOBJ_ENGINE_GR, NULL }, /* nv05 iifc */
+       { 0x0021, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv01_ifc }, /* nv01 ifc */
+       { 0x0061, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv04_imageblit_ifc }, /* nv04 ifc */
+       { 0x0065, NVOBJ_ENGINE_GR, NULL }, /* nv05 ifc */
+       { 0x0036, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv03_sifc }, /* nv03 sifc */
+       { 0x0076, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv04_sifc }, /* nv04 sifc */
+       { 0x0066, NVOBJ_ENGINE_GR, NULL }, /* nv05 sifc */
+       { 0x0037, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv03_sifm }, /* nv03 sifm */
+       { 0x0077, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv04_sifm }, /* nv04 sifm */
+       { 0x0030, NVOBJ_ENGINE_GR, NULL }, /* null */
+       { 0x0042, NVOBJ_ENGINE_GR, NULL }, /* surf2d */
+       { 0x0043, NVOBJ_ENGINE_GR, NULL }, /* rop */
+       { 0x0012, NVOBJ_ENGINE_GR, NULL }, /* beta1 */
+       { 0x0072, NVOBJ_ENGINE_GR, NULL }, /* beta4 */
+       { 0x0019, NVOBJ_ENGINE_GR, NULL }, /* cliprect */
+       { 0x0018, NVOBJ_ENGINE_GR, NULL }, /* nv01 pattern */
+       { 0x0044, NVOBJ_ENGINE_GR, NULL }, /* nv04 pattern */
+       { 0x0052, NVOBJ_ENGINE_GR, NULL }, /* swzsurf */
+       { 0x0053, NVOBJ_ENGINE_GR, nv04_graph_mthds_surf3d }, /* surf3d */
+       { 0x0048, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv03_tex_tri }, /* nv03 tex_tri */
+       { 0x0054, NVOBJ_ENGINE_GR, NULL }, /* tex_tri */
+       { 0x0055, NVOBJ_ENGINE_GR, NULL }, /* multitex_tri */
+       { 0x0017, NVOBJ_ENGINE_GR, NULL }, /* nv01 chroma */
+       { 0x0057, NVOBJ_ENGINE_GR, NULL }, /* nv04 chroma */
+       { 0x0058, NVOBJ_ENGINE_GR, NULL }, /* surf_dst */
+       { 0x0059, NVOBJ_ENGINE_GR, NULL }, /* surf_src */
+       { 0x005a, NVOBJ_ENGINE_GR, NULL }, /* surf_color */
+       { 0x005b, NVOBJ_ENGINE_GR, NULL }, /* surf_zeta */
+       { 0x001c, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv01_shape }, /* nv01 line */
+       { 0x005c, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv04_shape }, /* nv04 line */
+       { 0x001d, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv01_shape }, /* nv01 tri */
+       { 0x005d, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv04_shape }, /* nv04 tri */
+       { 0x001e, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv01_shape }, /* nv01 rect */
+       { 0x005e, NVOBJ_ENGINE_GR, nv04_graph_mthds_nv04_shape }, /* nv04 rect */
+       { 0x506e, NVOBJ_ENGINE_SW, nv04_graph_mthds_sw },
        {}
 };
 
index e3a87a64c164751948935b7e607b00562f5f971f..375d63161d120275839d66f986356902213369c6 100644 (file)
@@ -1075,25 +1075,25 @@ static struct nouveau_pgraph_object_method nv17_graph_celsius_mthds[] = {
 };
 
 struct nouveau_pgraph_object_class nv10_graph_grclass[] = {
-       { 0x0030, false, NULL }, /* null */
-       { 0x0039, false, NULL }, /* m2mf */
-       { 0x004a, false, NULL }, /* gdirect */
-       { 0x005f, false, NULL }, /* imageblit */
-       { 0x009f, false, NULL }, /* imageblit (nv12) */
-       { 0x008a, false, NULL }, /* ifc */
-       { 0x0089, false, NULL }, /* sifm */
-       { 0x0062, false, NULL }, /* surf2d */
-       { 0x0043, false, NULL }, /* rop */
-       { 0x0012, false, NULL }, /* beta1 */
-       { 0x0072, false, NULL }, /* beta4 */
-       { 0x0019, false, NULL }, /* cliprect */
-       { 0x0044, false, NULL }, /* pattern */
-       { 0x0052, false, NULL }, /* swzsurf */
-       { 0x0093, false, NULL }, /* surf3d */
-       { 0x0094, false, NULL }, /* tex_tri */
-       { 0x0095, false, NULL }, /* multitex_tri */
-       { 0x0056, false, NULL }, /* celcius (nv10) */
-       { 0x0096, false, NULL }, /* celcius (nv11) */
-       { 0x0099, false, nv17_graph_celsius_mthds }, /* celcius (nv17) */
+       { 0x0030, NVOBJ_ENGINE_GR, NULL }, /* null */
+       { 0x0039, NVOBJ_ENGINE_GR, NULL }, /* m2mf */
+       { 0x004a, NVOBJ_ENGINE_GR, NULL }, /* gdirect */
+       { 0x005f, NVOBJ_ENGINE_GR, NULL }, /* imageblit */
+       { 0x009f, NVOBJ_ENGINE_GR, NULL }, /* imageblit (nv12) */
+       { 0x008a, NVOBJ_ENGINE_GR, NULL }, /* ifc */
+       { 0x0089, NVOBJ_ENGINE_GR, NULL }, /* sifm */
+       { 0x0062, NVOBJ_ENGINE_GR, NULL }, /* surf2d */
+       { 0x0043, NVOBJ_ENGINE_GR, NULL }, /* rop */
+       { 0x0012, NVOBJ_ENGINE_GR, NULL }, /* beta1 */
+       { 0x0072, NVOBJ_ENGINE_GR, NULL }, /* beta4 */
+       { 0x0019, NVOBJ_ENGINE_GR, NULL }, /* cliprect */
+       { 0x0044, NVOBJ_ENGINE_GR, NULL }, /* pattern */
+       { 0x0052, NVOBJ_ENGINE_GR, NULL }, /* swzsurf */
+       { 0x0093, NVOBJ_ENGINE_GR, NULL }, /* surf3d */
+       { 0x0094, NVOBJ_ENGINE_GR, NULL }, /* tex_tri */
+       { 0x0095, NVOBJ_ENGINE_GR, NULL }, /* multitex_tri */
+       { 0x0056, NVOBJ_ENGINE_GR, NULL }, /* celcius (nv10) */
+       { 0x0096, NVOBJ_ENGINE_GR, NULL }, /* celcius (nv11) */
+       { 0x0099, NVOBJ_ENGINE_GR, nv17_graph_celsius_mthds }, /* celcius (nv17) */
        {}
 };
index 8a0402012557bff82f8df5f3bd15716d55a58acd..109418d72f93b75f2dd736c49404f84a287d2ef2 100644 (file)
@@ -757,45 +757,45 @@ nv30_graph_init(struct drm_device *dev)
 }
 
 struct nouveau_pgraph_object_class nv20_graph_grclass[] = {
-       { 0x0030, false, NULL }, /* null */
-       { 0x0039, false, NULL }, /* m2mf */
-       { 0x004a, false, NULL }, /* gdirect */
-       { 0x009f, false, NULL }, /* imageblit (nv12) */
-       { 0x008a, false, NULL }, /* ifc */
-       { 0x0089, false, NULL }, /* sifm */
-       { 0x0062, false, NULL }, /* surf2d */
-       { 0x0043, false, NULL }, /* rop */
-       { 0x0012, false, NULL }, /* beta1 */
-       { 0x0072, false, NULL }, /* beta4 */
-       { 0x0019, false, NULL }, /* cliprect */
-       { 0x0044, false, NULL }, /* pattern */
-       { 0x009e, false, NULL }, /* swzsurf */
-       { 0x0096, false, NULL }, /* celcius */
-       { 0x0097, false, NULL }, /* kelvin (nv20) */
-       { 0x0597, false, NULL }, /* kelvin (nv25) */
+       { 0x0030, NVOBJ_ENGINE_GR, NULL }, /* null */
+       { 0x0039, NVOBJ_ENGINE_GR, NULL }, /* m2mf */
+       { 0x004a, NVOBJ_ENGINE_GR, NULL }, /* gdirect */
+       { 0x009f, NVOBJ_ENGINE_GR, NULL }, /* imageblit (nv12) */
+       { 0x008a, NVOBJ_ENGINE_GR, NULL }, /* ifc */
+       { 0x0089, NVOBJ_ENGINE_GR, NULL }, /* sifm */
+       { 0x0062, NVOBJ_ENGINE_GR, NULL }, /* surf2d */
+       { 0x0043, NVOBJ_ENGINE_GR, NULL }, /* rop */
+       { 0x0012, NVOBJ_ENGINE_GR, NULL }, /* beta1 */
+       { 0x0072, NVOBJ_ENGINE_GR, NULL }, /* beta4 */
+       { 0x0019, NVOBJ_ENGINE_GR, NULL }, /* cliprect */
+       { 0x0044, NVOBJ_ENGINE_GR, NULL }, /* pattern */
+       { 0x009e, NVOBJ_ENGINE_GR, NULL }, /* swzsurf */
+       { 0x0096, NVOBJ_ENGINE_GR, NULL }, /* celcius */
+       { 0x0097, NVOBJ_ENGINE_GR, NULL }, /* kelvin (nv20) */
+       { 0x0597, NVOBJ_ENGINE_GR, NULL }, /* kelvin (nv25) */
        {}
 };
 
 struct nouveau_pgraph_object_class nv30_graph_grclass[] = {
-       { 0x0030, false, NULL }, /* null */
-       { 0x0039, false, NULL }, /* m2mf */
-       { 0x004a, false, NULL }, /* gdirect */
-       { 0x009f, false, NULL }, /* imageblit (nv12) */
-       { 0x008a, false, NULL }, /* ifc */
-       { 0x038a, false, NULL }, /* ifc (nv30) */
-       { 0x0089, false, NULL }, /* sifm */
-       { 0x0389, false, NULL }, /* sifm (nv30) */
-       { 0x0062, false, NULL }, /* surf2d */
-       { 0x0362, false, NULL }, /* surf2d (nv30) */
-       { 0x0043, false, NULL }, /* rop */
-       { 0x0012, false, NULL }, /* beta1 */
-       { 0x0072, false, NULL }, /* beta4 */
-       { 0x0019, false, NULL }, /* cliprect */
-       { 0x0044, false, NULL }, /* pattern */
-       { 0x039e, false, NULL }, /* swzsurf */
-       { 0x0397, false, NULL }, /* rankine (nv30) */
-       { 0x0497, false, NULL }, /* rankine (nv35) */
-       { 0x0697, false, NULL }, /* rankine (nv34) */
+       { 0x0030, NVOBJ_ENGINE_GR, NULL }, /* null */
+       { 0x0039, NVOBJ_ENGINE_GR, NULL }, /* m2mf */
+       { 0x004a, NVOBJ_ENGINE_GR, NULL }, /* gdirect */
+       { 0x009f, NVOBJ_ENGINE_GR, NULL }, /* imageblit (nv12) */
+       { 0x008a, NVOBJ_ENGINE_GR, NULL }, /* ifc */
+       { 0x038a, NVOBJ_ENGINE_GR, NULL }, /* ifc (nv30) */
+       { 0x0089, NVOBJ_ENGINE_GR, NULL }, /* sifm */
+       { 0x0389, NVOBJ_ENGINE_GR, NULL }, /* sifm (nv30) */
+       { 0x0062, NVOBJ_ENGINE_GR, NULL }, /* surf2d */
+       { 0x0362, NVOBJ_ENGINE_GR, NULL }, /* surf2d (nv30) */
+       { 0x0043, NVOBJ_ENGINE_GR, NULL }, /* rop */
+       { 0x0012, NVOBJ_ENGINE_GR, NULL }, /* beta1 */
+       { 0x0072, NVOBJ_ENGINE_GR, NULL }, /* beta4 */
+       { 0x0019, NVOBJ_ENGINE_GR, NULL }, /* cliprect */
+       { 0x0044, NVOBJ_ENGINE_GR, NULL }, /* pattern */
+       { 0x039e, NVOBJ_ENGINE_GR, NULL }, /* swzsurf */
+       { 0x0397, NVOBJ_ENGINE_GR, NULL }, /* rankine (nv30) */
+       { 0x0497, NVOBJ_ENGINE_GR, NULL }, /* rankine (nv35) */
+       { 0x0697, NVOBJ_ENGINE_GR, NULL }, /* rankine (nv34) */
        {}
 };
 
index 70d97cde49d08a030680ec98be059960b6412702..cd47760b2d0a8a013248d02017890b5341a8fd60 100644 (file)
@@ -409,23 +409,23 @@ void nv40_graph_takedown(struct drm_device *dev)
 }
 
 struct nouveau_pgraph_object_class nv40_graph_grclass[] = {
-       { 0x0030, false, NULL }, /* null */
-       { 0x0039, false, NULL }, /* m2mf */
-       { 0x004a, false, NULL }, /* gdirect */
-       { 0x009f, false, NULL }, /* imageblit (nv12) */
-       { 0x008a, false, NULL }, /* ifc */
-       { 0x0089, false, NULL }, /* sifm */
-       { 0x3089, false, NULL }, /* sifm (nv40) */
-       { 0x0062, false, NULL }, /* surf2d */
-       { 0x3062, false, NULL }, /* surf2d (nv40) */
-       { 0x0043, false, NULL }, /* rop */
-       { 0x0012, false, NULL }, /* beta1 */
-       { 0x0072, false, NULL }, /* beta4 */
-       { 0x0019, false, NULL }, /* cliprect */
-       { 0x0044, false, NULL }, /* pattern */
-       { 0x309e, false, NULL }, /* swzsurf */
-       { 0x4097, false, NULL }, /* curie (nv40) */
-       { 0x4497, false, NULL }, /* curie (nv44) */
+       { 0x0030, NVOBJ_ENGINE_GR, NULL }, /* null */
+       { 0x0039, NVOBJ_ENGINE_GR, NULL }, /* m2mf */
+       { 0x004a, NVOBJ_ENGINE_GR, NULL }, /* gdirect */
+       { 0x009f, NVOBJ_ENGINE_GR, NULL }, /* imageblit (nv12) */
+       { 0x008a, NVOBJ_ENGINE_GR, NULL }, /* ifc */
+       { 0x0089, NVOBJ_ENGINE_GR, NULL }, /* sifm */
+       { 0x3089, NVOBJ_ENGINE_GR, NULL }, /* sifm (nv40) */
+       { 0x0062, NVOBJ_ENGINE_GR, NULL }, /* surf2d */
+       { 0x3062, NVOBJ_ENGINE_GR, NULL }, /* surf2d (nv40) */
+       { 0x0043, NVOBJ_ENGINE_GR, NULL }, /* rop */
+       { 0x0012, NVOBJ_ENGINE_GR, NULL }, /* beta1 */
+       { 0x0072, NVOBJ_ENGINE_GR, NULL }, /* beta4 */
+       { 0x0019, NVOBJ_ENGINE_GR, NULL }, /* cliprect */
+       { 0x0044, NVOBJ_ENGINE_GR, NULL }, /* pattern */
+       { 0x309e, NVOBJ_ENGINE_GR, NULL }, /* swzsurf */
+       { 0x4097, NVOBJ_ENGINE_GR, NULL }, /* curie (nv40) */
+       { 0x4497, NVOBJ_ENGINE_GR, NULL }, /* curie (nv44) */
        {}
 };
 
index dcc9175fb7945ba970eafa8be6531a6ae5a87f6f..01a598917e3c5d53284d8fe82fcfca9737512fd1 100644 (file)
@@ -401,16 +401,16 @@ static struct nouveau_pgraph_object_method nv50_graph_nvsw_methods[] = {
 };
 
 struct nouveau_pgraph_object_class nv50_graph_grclass[] = {
-       { 0x506e, true, nv50_graph_nvsw_methods }, /* nvsw */
-       { 0x0030, false, NULL }, /* null */
-       { 0x5039, false, NULL }, /* m2mf */
-       { 0x502d, false, NULL }, /* 2d */
-       { 0x50c0, false, NULL }, /* compute */
-       { 0x85c0, false, NULL }, /* compute (nva3, nva5, nva8) */
-       { 0x5097, false, NULL }, /* tesla (nv50) */
-       { 0x8297, false, NULL }, /* tesla (nv8x/nv9x) */
-       { 0x8397, false, NULL }, /* tesla (nva0, nvaa, nvac) */
-       { 0x8597, false, NULL }, /* tesla (nva3, nva5, nva8) */
+       { 0x506e, NVOBJ_ENGINE_SW, nv50_graph_nvsw_methods }, /* nvsw */
+       { 0x0030, NVOBJ_ENGINE_GR, NULL }, /* null */
+       { 0x5039, NVOBJ_ENGINE_GR, NULL }, /* m2mf */
+       { 0x502d, NVOBJ_ENGINE_GR, NULL }, /* 2d */
+       { 0x50c0, NVOBJ_ENGINE_GR, NULL }, /* compute */
+       { 0x85c0, NVOBJ_ENGINE_GR, NULL }, /* compute (nva3, nva5, nva8) */
+       { 0x5097, NVOBJ_ENGINE_GR, NULL }, /* tesla (nv50) */
+       { 0x8297, NVOBJ_ENGINE_GR, NULL }, /* tesla (nv8x/nv9x) */
+       { 0x8397, NVOBJ_ENGINE_GR, NULL }, /* tesla (nva0, nvaa, nvac) */
+       { 0x8597, NVOBJ_ENGINE_GR, NULL }, /* tesla (nva3, nva5, nva8) */
        {}
 };