drm/nouveau/msppp: switch to device pri macros
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
54118c74fb
commit
320ca25131
|
@ -60,14 +60,15 @@ static int
|
|||
g98_msppp_init(struct nvkm_object *object)
|
||||
{
|
||||
struct nvkm_falcon *msppp = (void *)object;
|
||||
struct nvkm_device *device = msppp->engine.subdev.device;
|
||||
int ret;
|
||||
|
||||
ret = nvkm_falcon_init(msppp);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
nv_wr32(msppp, 0x086010, 0x0000ffd2);
|
||||
nv_wr32(msppp, 0x08601c, 0x0000fff2);
|
||||
nvkm_wr32(device, 0x086010, 0x0000ffd2);
|
||||
nvkm_wr32(device, 0x08601c, 0x0000fff2);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -59,14 +59,15 @@ static int
|
|||
gf100_msppp_init(struct nvkm_object *object)
|
||||
{
|
||||
struct nvkm_falcon *msppp = (void *)object;
|
||||
struct nvkm_device *device = msppp->engine.subdev.device;
|
||||
int ret;
|
||||
|
||||
ret = nvkm_falcon_init(msppp);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
nv_wr32(msppp, 0x086010, 0x0000fff2);
|
||||
nv_wr32(msppp, 0x08601c, 0x0000fff2);
|
||||
nvkm_wr32(device, 0x086010, 0x0000fff2);
|
||||
nvkm_wr32(device, 0x08601c, 0x0000fff2);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue