diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2021-02-03 23:39:28 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-02-11 02:49:58 +0100 |
commit | 07a356bbe7723c4ba1473ea6a8c92caab9af6233 (patch) | |
tree | 9da2bba398679cdbf33b0c9300b09b9152301b81 /drivers/gpu/drm/nouveau/nvkm/engine/msppp/gt215.c | |
parent | drm/nouveau/mspdec: switch to instanced constructor (diff) | |
download | linux-07a356bbe7723c4ba1473ea6a8c92caab9af6233.tar.xz linux-07a356bbe7723c4ba1473ea6a8c92caab9af6233.zip |
drm/nouveau/msppp: 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/engine/msppp/gt215.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/msppp/gt215.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/msppp/gt215.c b/drivers/gpu/drm/nouveau/nvkm/engine/msppp/gt215.c index 49cbf72cee4b..a2fd736fef94 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/msppp/gt215.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/msppp/gt215.c @@ -35,8 +35,8 @@ gt215_msppp = { }; int -gt215_msppp_new(struct nvkm_device *device, int index, - struct nvkm_engine **pengine) +gt215_msppp_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, + struct nvkm_engine **pengine) { - return nvkm_msppp_new_(>215_msppp, device, index, pengine); + return nvkm_msppp_new_(>215_msppp, device, type, inst, pengine); } |