diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2019-02-01 06:52:50 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2019-02-20 02:00:00 +0300 |
commit | 169f30b35d66c8d041173ba69e03090fe4caa228 (patch) | |
tree | d4eb3630ee7684dfd2344b68d5d5e394b918b5f3 /drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h | |
parent | 8e083686ec90b62ed606542aa707ff917fac3259 (diff) | |
download | linux-169f30b35d66c8d041173ba69e03090fe4caa228.tar.xz |
drm/nouveau/gr/gf100-: expose fecs methods for pausing ctxsw
MMU will need access to these.
v2. Apply fix from Rhys Kidd to send correct FECS method for STOP_CTXSW.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h b/drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h index ba1518ff8b66..87cc7370a216 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/engine/gr.h @@ -10,6 +10,8 @@ struct nvkm_gr { u64 nvkm_gr_units(struct nvkm_gr *); int nvkm_gr_tlb_flush(struct nvkm_gr *); +int nvkm_gr_ctxsw_pause(struct nvkm_device *); +int nvkm_gr_ctxsw_resume(struct nvkm_device *); int nv04_gr_new(struct nvkm_device *, int, struct nvkm_gr **); int nv10_gr_new(struct nvkm_device *, int, struct nvkm_gr **); |