aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-12-04 15:38:44 +1000
committerBen Skeggs <bskeggs@redhat.com>2021-02-11 11:49:58 +1000
commit864d37c3d8d4ee9e38a1a68c0048e285760a2eb2 (patch)
tree79211a632c53895aea737e5fa8e3240a85c18ae9 /drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h
parentdrm/nouveau/fifo/gk104-: remove use of subdev index in runlist topology info (diff)
downloadlinux-dev-864d37c3d8d4ee9e38a1a68c0048e285760a2eb2.tar.xz
linux-dev-864d37c3d8d4ee9e38a1a68c0048e285760a2eb2.zip
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/priv.h')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h b/drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h
index 3b30f24032cc..9b2c66e8be90 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h
@@ -7,8 +7,8 @@
struct nvkm_fb_tile;
struct nvkm_fifo_chan;
-int nvkm_gr_ctor(const struct nvkm_gr_func *, struct nvkm_device *,
- int index, bool enable, struct nvkm_gr *);
+int nvkm_gr_ctor(const struct nvkm_gr_func *, struct nvkm_device *, enum nvkm_subdev_type, int,
+ bool enable, struct nvkm_gr *);
bool nv04_gr_idle(struct nvkm_gr *);