Displaying 3 results from an estimated 3 matches for "nv84_vp_oclass".
2013 Jun 23
0
[PATCH v2] nouveau: Load firmware for BSP/VP engines on NV84-NV96, NVA0
..._identify(struct nouveau_device *device)
device->oclass[NVDEV_ENGINE_FIFO ] = &nv84_fifo_oclass;
device->oclass[NVDEV_ENGINE_SW ] = &nv50_software_oclass;
device->oclass[NVDEV_ENGINE_GR ] = &nv50_graph_oclass;
- device->oclass[NVDEV_ENGINE_VP ] = &nv84_vp_oclass;
+ device->oclass[NVDEV_ENGINE_VP ] = &nv98_vp_oclass;
device->oclass[NVDEV_ENGINE_CRYPT ] = &nv98_crypt_oclass;
- device->oclass[NVDEV_ENGINE_BSP ] = &nv84_bsp_oclass;
+ device->oclass[NVDEV_ENGINE_BSP ] = &nv98_bsp_oclass;
device->oclass[NVDEV_EN...
2013 Jun 03
4
[PATCH] nouveau: Load firmware for BSP/VP engines on NV84-NV96, NVA0
...nv_device(object);
+ struct nv84_vp_priv *priv = (void *)object;
+
+ nv_wr32(device, 0xfd84, 0); /* INTR_EN */
+ nv_wr32(device, 0xfd94, 0); /* FIFO_CTRL */
+
+ nouveau_gpuobj_ref(NULL, &priv->gpu_fw);
+
+ return nouveau_engine_fini(&priv->base, suspend);
+}
+
struct nouveau_oclass
nv84_vp_oclass = {
.handle = NV_ENGINE(VP, 0x84),
.ofuncs = &(struct nouveau_ofuncs) {
.ctor = nv84_vp_ctor,
- .dtor = _nouveau_engine_dtor,
- .init = _nouveau_engine_init,
- .fini = _nouveau_engine_fini,
+ .dtor = nv84_vp_dtor,
+ .init = nv84_vp_init,
+ .fini = nv84_vp_fini,
},
};
diff --git...
2013 Jun 04
0
[PATCH] nouveau: Load firmware for BSP/VP engines on NV84-NV96, NVA0
...nv_wr32(device, 0xfd84, 0); /* INTR_EN */
> + nv_wr32(device, 0xfd94, 0); /* FIFO_CTRL */
> +
> + nouveau_gpuobj_ref(NULL, &priv->gpu_fw);
> +
> + return nouveau_engine_fini(&priv->base, suspend);
> +}
> +
> struct nouveau_oclass
> nv84_vp_oclass = {
> .handle = NV_ENGINE(VP, 0x84),
> .ofuncs = &(struct nouveau_ofuncs) {
> .ctor = nv84_vp_ctor,
> - .dtor = _nouveau_engine_dtor,
> - .init = _nouveau_engine_init,
> - .fini = _nouveau_engine_fini,
&...