diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2022-06-01 13:47:30 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2022-11-09 03:44:48 +0300 |
commit | 4a492fd5d26298c82c555f603fe4aa38cf512464 (patch) | |
tree | 7eb11d81b211b0bf7a92fff22e44d95c9066f6a1 /drivers/gpu/drm/nouveau/include | |
parent | f48dd2936138882d7755cbbc5d9984015c75980c (diff) | |
download | linux-4a492fd5d26298c82c555f603fe4aa38cf512464.tar.xz |
drm/nouveau/fifo: add runlist wait()
- adds g8x/turing registers, which were missing before
- switches fermi to polled wait, like later hw (see: 4f2fc25c0f8bc...)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h b/drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h index 5a5c37480400..a4cc7f07bb89 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h @@ -54,6 +54,10 @@ struct nvkm_fifo { struct nvkm_event event; } nonstall; + struct { + u32 chan_msec; + } timeout; + int nr; struct list_head chan; spinlock_t lock; |