Displaying 1 result from an estimated 1 matches for "pevo".
Did you mean:
pero
2012 Aug 19
1
[PATCH 09/10] drm/nv50/evo: store iomem pointer in properly typed field
...evo_wr32(struct nouveau_object *object, u32 addr, u32 data)
{
- void __iomem *iomem = object->oclass->ofuncs->rd08;
+ void __iomem *iomem = ((struct evo_object *)object)->iomem;
iowrite32_native(data, iomem + addr);
}
@@ -60,7 +65,7 @@ nv50_evo_channel_del(struct nouveau_channel **pevo)
nouveau_bo_ref(NULL, &evo->push.buffer);
if (evo->object)
- iounmap(evo->object->oclass->ofuncs);
+ iounmap(((struct evo_object *)evo->object)->iomem);
kfree(evo);
}
@@ -112,6 +117,7 @@ nv50_evo_channel_new(struct drm_device *dev, int chid,
struct nouveau_dr...