drm/nouveau/gsp/r535: add support for rm alloc
authorBen Skeggs <bskeggs@redhat.com>
Mon, 18 Sep 2023 20:21:39 +0000 (06:21 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 31 Oct 2023 05:08:16 +0000 (15:08 +1000)
commit37e328a17c1f4f6dded7354fd9afa1fa5c74854a
tree81e32b34da5067c87d38a3e051a07d40b90b25af
parent4cf2c83eb3a4c42aebe31f4767c3db5788d362ea
drm/nouveau/gsp/r535: add support for rm alloc

Adds the plumbing to be able to allocate and free RM objects, and
implements RM client/device/subdevice allocation with it.

These will be used by subsequent patches.

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-35-skeggsb@gmail.com
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/class/cl0000.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/class/cl0080.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/class/cl2080.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/nvlimits.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_rpc-structures.h
drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_sdk-structures.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c