summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2016-04-08 09:24:40 +0200
committerBen Skeggs <bskeggs@redhat.com>2016-05-20 06:43:04 +0200
commit56d06fa29edd58c448766014afd833b7ff51247b (patch)
treecb9857812ceeb569aca9fb4c9a9405a5f33feccc /drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
parentdrm/nouveau/mc/nv04: define reset masks + intr cleanup (diff)
downloadlinux-56d06fa29edd58c448766014afd833b7ff51247b.tar.xz
linux-56d06fa29edd58c448766014afd833b7ff51247b.zip
drm/nouveau/core: remove pmc_enable argument from subdev ctor
These are now specified directly in the MC subdev. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
index 090765ff070d..467065d1b4e6 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c
@@ -128,9 +128,8 @@ nvkm_gr = {
int
nvkm_gr_ctor(const struct nvkm_gr_func *func, struct nvkm_device *device,
- int index, u32 pmc_enable, bool enable, struct nvkm_gr *gr)
+ int index, bool enable, struct nvkm_gr *gr)
{
gr->func = func;
- return nvkm_engine_ctor(&nvkm_gr, device, index, pmc_enable,
- enable, &gr->engine);
+ return nvkm_engine_ctor(&nvkm_gr, device, index, enable, &gr->engine);
}