diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-12-04 15:38:44 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-02-11 11:49:58 +1000 |
commit | 864d37c3d8d4ee9e38a1a68c0048e285760a2eb2 (patch) | |
tree | 79211a632c53895aea737e5fa8e3240a85c18ae9 /drivers/gpu/drm/nouveau/nvkm/engine/gr/nv25.c | |
parent | f8fabd31fabaa3b3e600209b7a1f57b5d641f6af (diff) | |
download | linux-864d37c3d8d4ee9e38a1a68c0048e285760a2eb2.tar.gz |
drm/nouveau/gr: 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/gr/nv25.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/gr/nv25.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/nv25.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/nv25.c index 32d29d3faee0..f3a56f17d94a 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/nv25.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/nv25.c @@ -129,7 +129,7 @@ nv25_gr = { }; int -nv25_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) +nv25_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) { - return nv20_gr_new_(&nv25_gr, device, index, pgr); + return nv20_gr_new_(&nv25_gr, device, type, inst, pgr); } |