diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2021-02-03 23:40:52 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-02-11 02:49:59 +0100 |
commit | 400c2a456ce4b89fd286f009dfad0429020ee834 (patch) | |
tree | a1fd1b56090161ffcd2e740791401189b5a37fe4 /drivers/gpu/drm/nouveau/nvkm/subdev | |
parent | drm/nouveau/pm: switch to instanced constructor (diff) | |
download | linux-400c2a456ce4b89fd286f009dfad0429020ee834.tar.xz linux-400c2a456ce4b89fd286f009dfad0429020ee834.zip |
drm/nouveau/sec: 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')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.c | 2 |
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 f4267429f59d..05729ca19e9a 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/g98.c @@ -45,7 +45,7 @@ g98_devinit_disable(struct nvkm_devinit *init) if (!(r00154c & 0x00000020)) nvkm_subdev_disable(device, NVKM_ENGINE_MSVLD, 0); if (!(r00154c & 0x00000040)) - disable |= (1ULL << NVKM_ENGINE_SEC); + nvkm_subdev_disable(device, NVKM_ENGINE_SEC, 0); return disable; } |