diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2016-12-13 17:11:28 +0900 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-02-17 15:14:31 +1000 |
commit | d2753f40a947229cf2c8075ed93479159c1af1c1 (patch) | |
tree | b7918d7d8ec3b2cb2c7a76feb6d00e0b7299aaa1 /drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h | |
parent | drm/nouveau/secboot: use falcon library (diff) | |
download | linux-dev-d2753f40a947229cf2c8075ed93479159c1af1c1.tar.xz linux-dev-d2753f40a947229cf2c8075ed93479159c1af1c1.zip |
drm/nouveau/gr: add fini() hook
Add a fini() hook to the GR engine. This will be used by gf100+ to
properly release the FECS and GPCCS falcons.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h b/drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h index d8adcdf6985a..0d6d940a744f 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h +++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h @@ -15,6 +15,7 @@ struct nvkm_gr_func { void *(*dtor)(struct nvkm_gr *); int (*oneinit)(struct nvkm_gr *); int (*init)(struct nvkm_gr *); + int (*fini)(struct nvkm_gr *, bool); void (*intr)(struct nvkm_gr *); void (*tile)(struct nvkm_gr *, int region, struct nvkm_fb_tile *); int (*tlb_flush)(struct nvkm_gr *); |