diff options
| author | Ben Skeggs <bskeggs@redhat.com> | 2023-09-19 06:21:19 +1000 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2023-10-31 15:08:12 +1000 |
| commit | 624c6f78cc8d9d1a87eeb4d905f231ea128f4a4f (patch) | |
| tree | c28118b7f3fc249ad6734457998ea202524790d4 /drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h | |
| parent | drm/nouveau/i2c/tu102-: prepare for GSP-RM (diff) | |
| download | linux-624c6f78cc8d9d1a87eeb4d905f231ea128f4a4f.tar.gz linux-624c6f78cc8d9d1a87eeb4d905f231ea128f4a4f.zip | |
drm/nouveau/imem/tu102-: prepare for GSP-RM
- move suspend/resume paths to HW-specific code
- allow (future) RM paths to be based on nv50_instmem
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230918202149.4343-15-skeggsb@gmail.com
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h')
| -rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h b/drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h index 92a36ddfc29f..7d93c742ee59 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/instmem.h @@ -8,6 +8,8 @@ struct nvkm_instmem { const struct nvkm_instmem_func *func; struct nvkm_subdev subdev; + bool suspend; + spinlock_t lock; struct list_head list; struct list_head boot; |
