summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.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/g98.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/g98.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.c b/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.c
index 710eead0ce63..81a85f502495 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.c
@@ -35,7 +35,7 @@ g98_devinit_disable(struct nvkm_devinit *init)
u64 disable = 0ULL;
if (!(r001540 & 0x40000000)) {
- disable |= (1ULL << NVKM_ENGINE_MSPDEC);
+ nvkm_subdev_disable(device, NVKM_ENGINE_MSPDEC, 0);
disable |= (1ULL << NVKM_ENGINE_MSVLD);
disable |= (1ULL << NVKM_ENGINE_MSPPP);
}