drm/nouveau: store engine type in gpuobj class structs
We will eventually want to address hw engines other than PGRAPH. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@ -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) */
|
||||
{}
|
||||
};
|
||||
|
Reference in New Issue
Block a user