]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/nouveau/gsp: add common client alloc code
authorBen Skeggs <bskeggs@nvidia.com>
Tue, 13 May 2025 23:19:56 +0000 (09:19 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 18 May 2025 20:29:26 +0000 (06:29 +1000)
commit1b9d7b9df8f3e33a577bf00861250d3669bf2000
tree8a8740103df89b58fb70ab5f1e4ddd35f2eb508a
parent9c86a6010ae5bbc67770d649829e8f3dc302d2b9
drm/nouveau/gsp: add common client alloc code

570.144 has incompatible changes to NV0000_ALLOC_PARAMETERS.

Factor out the common code so it can be shared.

Signed-off-by: Ben Skeggs <bskeggs@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/client.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/handles.h
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/client.c
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/rm.h