diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c index 94f0b4d2c890..d93d5945a2d8 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c @@ -144,6 +144,7 @@ nv50_pior_dp_impl = { int nv50_pior_power(NV50_DISP_MTHD_V1) { + struct nvkm_device *device = disp->base.engine.subdev.device; const u32 soff = outp->or * 0x800; union { struct nv50_disp_pior_pwr_v0 v0; @@ -163,7 +164,7 @@ nv50_pior_power(NV50_DISP_MTHD_V1) return ret; nv_wait(disp, 0x61e004 + soff, 0x80000000, 0x00000000); - nv_mask(disp, 0x61e004 + soff, 0x80000101, 0x80000000 | ctrl); + nvkm_mask(device, 0x61e004 + soff, 0x80000101, 0x80000000 | ctrl); nv_wait(disp, 0x61e004 + soff, 0x80000000, 0x00000000); disp->pior.type[outp->or] = type; return 0; |