summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2021-02-03 23:38:32 +0100
committerBen Skeggs <bskeggs@redhat.com>2021-02-11 02:49:58 +0100
commit963216061c00865a75943d0bd5cc371ae3bc934a (patch)
tree5a30d5d5dad2463a73680cdd7844e8e4c4100ffa /drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.c
parentdrm/nouveau/msenc: switch to instanced constructor (diff)
downloadlinux-963216061c00865a75943d0bd5cc371ae3bc934a.tar.xz
linux-963216061c00865a75943d0bd5cc371ae3bc934a.zip
drm/nouveau/mspdec: switch to instanced constructor
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.c b/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.c
index 6f4a49ae7548..cb14ab804c97 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/mcp89.c
@@ -35,7 +35,7 @@ mcp89_devinit_disable(struct nvkm_devinit *init)
u64 disable = 0;
if (!(r001540 & 0x40000000)) {
- disable |= (1ULL << NVKM_ENGINE_MSPDEC);
+ nvkm_subdev_disable(device, NVKM_ENGINE_MSPDEC, 0);
disable |= (1ULL << NVKM_ENGINE_MSPPP);
}