diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-08-20 07:54:08 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-08-28 05:40:13 +0300 |
commit | 8699745a2bc143eee429c556d631e8e5be5dc009 (patch) | |
tree | 8c616786c58023ebceba5e7ebb95cd5f32c75798 /drivers/gpu/drm/nouveau/nvkm/engine/vp | |
parent | 226dcefe706ff8854bca1bb75ae7bfd2fe3296c5 (diff) | |
download | linux-8699745a2bc143eee429c556d631e8e5be5dc009.tar.xz |
drm/nouveau/vp: cosmetic changes
This is purely preparation for upcoming commits, there should be no
code changes here.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/vp')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/vp/g84.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/vp/g84.c b/drivers/gpu/drm/nouveau/nvkm/engine/vp/g84.c index 45f4e186befc..703ddcfb207b 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/vp/g84.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/vp/g84.c @@ -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_object **pobject) { - struct nvkm_xtensa *priv; + struct nvkm_xtensa *vp; int ret; ret = nvkm_xtensa_create(parent, engine, oclass, 0xf000, true, - "PVP", "vp", &priv); - *pobject = nv_object(priv); + "PVP", "vp", &vp); + *pobject = nv_object(vp); if (ret) return ret; - nv_subdev(priv)->unit = 0x01020000; - nv_engine(priv)->cclass = &g84_vp_cclass; - nv_engine(priv)->sclass = g84_vp_sclass; - priv->fifo_val = 0x111; - priv->unkd28 = 0x9c544; + nv_subdev(vp)->unit = 0x01020000; + nv_engine(vp)->cclass = &g84_vp_cclass; + nv_engine(vp)->sclass = g84_vp_sclass; + vp->fifo_val = 0x111; + vp->unkd28 = 0x9c544; return 0; } |