summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-12-04 08:29:16 +0300
committerBen Skeggs <bskeggs@redhat.com>2021-02-11 04:49:56 +0300
commitab0db2bd853d4a61bf440d2846b046a1d11ce027 (patch)
tree30fdae1fb6ebf1ca75cc8e3effd6c110ec8e5d54 /drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c
parent09f409d74d66799c4e7b3ac457ab4e055ae4604e (diff)
downloadlinux-ab0db2bd853d4a61bf440d2846b046a1d11ce027.tar.xz
drm/nouveau/fifo: 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/fifo/gm107.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c
index c2a2e4572f6c..7af6e687d474 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c
@@ -106,7 +106,8 @@ gm107_fifo = {
};
int
-gm107_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo)
+gm107_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
+ struct nvkm_fifo **pfifo)
{
- return gk104_fifo_new_(&gm107_fifo, device, index, 2048, pfifo);
+ return gk104_fifo_new_(&gm107_fifo, device, type, inst, 2048, pfifo);
}