diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2023-09-19 06:21:45 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2023-10-31 15:08:17 +1000 |
commit | 361c3cd8ae1277e601ab6e547cc62368dc5499a7 (patch) | |
tree | 705916689426b67fdde14d5976e7eff1a3b75a79 /drivers/gpu/drm/nouveau/include/nvkm/subdev | |
parent | b5ce219ab368bbb430f9f59a3e0b8f05bc7354ae (diff) |
drm/nouveau/gr/r535: initial support
Adds support for allocating GR classes from RM.
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-41-skeggsb@gmail.com
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/subdev')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h b/drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h index e7e8b30ceb44..2fa0445d8928 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h @@ -176,6 +176,11 @@ struct nvkm_gsp { u64 rm_bar2_pdb; } bar; + struct { + u8 gpcs; + u8 tpcs; + } gr; + const struct nvkm_gsp_rm { void *(*rpc_get)(struct nvkm_gsp *, u32 fn, u32 argc); void *(*rpc_push)(struct nvkm_gsp *, void *argv, bool wait, u32 repc); |