diff options
| author | Dave Airlie <airlied@redhat.com> | 2025-05-19 00:18:42 +0300 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2025-05-19 00:18:46 +0300 |
| commit | 5dca4335ba3316b5433b85f2325311ae144cf68a (patch) | |
| tree | 2c3cf73b5b3333a0c95c8db2148c673955fdc8db /drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gb100.c | |
| parent | 7cf346fcf99815a29b2c18409e617f9cf2c40a6d (diff) | |
| parent | 6cc6e08d4542473d79ea83d9123d9d35e9c01c92 (diff) | |
| download | linux-5dca4335ba3316b5433b85f2325311ae144cf68a.tar.xz | |
Merge tag 'topic/drm-next-nouveau-r570-2025-05-19-1' of https://gitlab.freedesktop.org/drm/kernel into drm-next
drm/nouveau: r570 and hopper/blackwell support
This series implements support for booting GSP-RM firmware version
570.144, and adds support for GH100, GB10x, and GB20x GPUs.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gb100.c')
| -rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gb100.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gb100.c b/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gb100.c new file mode 100644 index 000000000000..12a3f2c1ed82 --- /dev/null +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gb100.c @@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: MIT + * + * Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved. + */ +#include "priv.h" + +static const struct nvkm_gsp_func +gb100_gsp = { + .flcn = &ga102_gsp_flcn, + + .sig_section = ".fwsignature_gb10x", + + .dtor = r535_gsp_dtor, + .oneinit = gh100_gsp_oneinit, + .init = gh100_gsp_init, + .fini = gh100_gsp_fini, + + .rm.gpu = &gb10x_gpu, +}; + +static struct nvkm_gsp_fwif +gb100_gsps[] = { + { 0, gh100_gsp_load, &gb100_gsp, &r570_rm_gb10x, "570.144", true }, + {} +}; + +int +gb100_gsp_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, + struct nvkm_gsp **pgsp) +{ + return nvkm_gsp_new_(gb100_gsps, device, type, inst, pgsp); +} + +NVKM_GSP_FIRMWARE_FMC(gb100, 570.144); +NVKM_GSP_FIRMWARE_FMC(gb102, 570.144); |
