]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/nouveau/instmem: add hal for set_bar0_window_addr()
authorBen Skeggs <bskeggs@nvidia.com>
Thu, 30 Jan 2025 07:28:02 +0000 (17:28 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 18 May 2025 20:29:26 +0000 (06:29 +1000)
commit0adfd612c02f57c55ceac63a23baa702249fc612
tree6278c434d0dcddac0d85d6a7608ba2e7b7d1432c
parent2f89bb3264af414a96ef875035c6c5afae01c7da
drm/nouveau/instmem: add hal for set_bar0_window_addr()

GH100/GBxxx have moved the register that controls where in VRAM the
the BAR0 NV_PRAMIN window points.

Add a HAL for this, as the BAR0 window is needed for BAR2 bootstrap.

Signed-off-by: Ben Skeggs <bskeggs@nvidia.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Timur Tabi <ttabi@nvidia.com>
Tested-by: Timur Tabi <ttabi@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fbsr.c
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/priv.h