]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/nouveau/gsp: remove gsp-specific chid allocation path
authorBen Skeggs <bskeggs@nvidia.com>
Mon, 12 May 2025 19:48:56 +0000 (05:48 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 18 May 2025 20:29:22 +0000 (06:29 +1000)
commitb8a90901db9d2b50093e105f2e016624c627c610
tree05721008bc9514de119fb21f8298c0fb27e41825
parent7904bcdcf6b56602a049ed2b47282db63671fa99
drm/nouveau/gsp: remove gsp-specific chid allocation path

In order to specify a channel ID to RM during channel allocation, the
channel ID is broken down into a "userd page" index and an index into
that page.

It was assumed that RM would enforce that the same physical block of
memory be used for all CHIDs within a "userd page", and the GSP paths
override NVKM's normal CHID allocation to handle this.

However, none of that turns out to be necessary.

Remove the GSP-specific code and use the regular CHID allocation path.

Signed-off-by: Ben Skeggs <bskeggs@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/engine/fifo.h
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.h
drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c