diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-04-08 09:24:40 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-05-20 06:43:04 +0200 |
commit | 56d06fa29edd58c448766014afd833b7ff51247b (patch) | |
tree | cb9857812ceeb569aca9fb4c9a9405a5f33feccc /drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c | |
parent | drm/nouveau/mc/nv04: define reset masks + intr cleanup (diff) | |
download | linux-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.c | 5 |
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); } |