Commit 8699745a authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/vp: cosmetic changes

This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 226dcefe
...@@ -62,20 +62,20 @@ g84_vp_ctor(struct nvkm_object *parent, struct nvkm_object *engine, ...@@ -62,20 +62,20 @@ g84_vp_ctor(struct nvkm_object *parent, struct nvkm_object *engine,
struct nvkm_oclass *oclass, void *data, u32 size, struct nvkm_oclass *oclass, void *data, u32 size,
struct nvkm_object **pobject) struct nvkm_object **pobject)
{ {
struct nvkm_xtensa *priv; struct nvkm_xtensa *vp;
int ret; int ret;
ret = nvkm_xtensa_create(parent, engine, oclass, 0xf000, true, ret = nvkm_xtensa_create(parent, engine, oclass, 0xf000, true,
"PVP", "vp", &priv); "PVP", "vp", &vp);
*pobject = nv_object(priv); *pobject = nv_object(vp);
if (ret) if (ret)
return ret; return ret;
nv_subdev(priv)->unit = 0x01020000; nv_subdev(vp)->unit = 0x01020000;
nv_engine(priv)->cclass = &g84_vp_cclass; nv_engine(vp)->cclass = &g84_vp_cclass;
nv_engine(priv)->sclass = g84_vp_sclass; nv_engine(vp)->sclass = g84_vp_sclass;
priv->fifo_val = 0x111; vp->fifo_val = 0x111;
priv->unkd28 = 0x9c544; vp->unkd28 = 0x9c544;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment