30 if ((nv_device(priv)->
chipset & 0xf0) == 0x60)
32 return !(0x0baf & (1 << (nv_device(priv)->chipset & 0x0f)));
46 *pobject = nv_object(priv);
59 nv_error(priv,
"unable to map PRAMIN BAR\n");
67 vs =
hweight8((nv_rd32(priv, 0x001540) & 0x0000ff00) >> 8);
68 if (device->
chipset == 0x40) priv->
base.reserved = 0x6aa0 * vs;
69 else if (device->
chipset < 0x43) priv->
base.reserved = 0x4f00 * vs;
70 else if (nv44_graph_class(priv)) priv->
base.reserved = 0x4980 * vs;
71 else priv->
base.reserved = 0x4a40 * vs;
72 priv->
base.reserved += 16 * 1024;
73 priv->
base.reserved *= 32;
74 priv->
base.reserved += 512 * 1024;
75 priv->
base.reserved += 512 * 1024;
131 .ctor = nv40_instmem_ctor,
135 .rd32 = nv40_instmem_rd32,
136 .wr32 = nv40_instmem_wr32,