diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2023-09-18 22:21:49 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2023-10-31 06:08:19 +0100 |
commit | 015185cc670e8cb3325990dd41b1ddb502dd3a36 (patch) | |
tree | 9e3d4b181f653bcb66c71728a016d32813920124 /drivers/gpu/drm/nouveau/nvkm/subdev | |
parent | drm/nouveau/nvjpg/r535: initial support (diff) | |
download | linux-015185cc670e8cb3325990dd41b1ddb502dd3a36.tar.xz linux-015185cc670e8cb3325990dd41b1ddb502dd3a36.zip |
drm/nouveau/ofa/r535: initial support
Adds support for allocating OFA 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-45-skeggsb@gmail.com
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c b/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c index 0df0ff36b8cb..c24693f265e8 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c @@ -871,6 +871,10 @@ r535_gsp_intr_get_table(struct nvkm_gsp *gsp) type = NVKM_ENGINE_NVJPG; inst = ctrl->table[i].engineIdx - MC_ENGINE_IDX_NVJPEG0; break; + case MC_ENGINE_IDX_OFA0: + type = NVKM_ENGINE_OFA; + inst = 0; + break; default: continue; } |