mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 03:33:58 +08:00
drm/nouveau/falcon: switch to device pri macros
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
c44c049f28
commit
96975248ee
@ -46,14 +46,14 @@ u32
|
||||
_nvkm_falcon_rd32(struct nvkm_object *object, u64 addr)
|
||||
{
|
||||
struct nvkm_falcon *falcon = (void *)object;
|
||||
return nv_rd32(falcon, falcon->addr + addr);
|
||||
return nvkm_rd32(falcon->engine.subdev.device, falcon->addr + addr);
|
||||
}
|
||||
|
||||
void
|
||||
_nvkm_falcon_wr32(struct nvkm_object *object, u64 addr, u32 data)
|
||||
{
|
||||
struct nvkm_falcon *falcon = (void *)object;
|
||||
nv_wr32(falcon, falcon->addr + addr, data);
|
||||
nvkm_wr32(falcon->engine.subdev.device, falcon->addr + addr, data);
|
||||
}
|
||||
|
||||
static void *
|
||||
|
Loading…
Reference in New Issue
Block a user