]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/nouveau: Remove nvkm_gsp_fwif.enable
authorMel Henning <mhenning@darkrefraction.com>
Mon, 11 Aug 2025 21:32:32 +0000 (17:32 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 12 Aug 2025 21:36:51 +0000 (17:36 -0400)
This struct element is no longer used.

Signed-off-by: Mel Henning <mhenning@darkrefraction.com>
Reviewed-by: Ben Skeggs <bskeggs@nvidia.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20250811213843.4294-3-mhenning@darkrefraction.com
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ad102.c
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gb100.c
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gb202.c
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gh100.c
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h

index eb765da0876eb37cd206ae084de69c2b11b8c050..35d1fcef520bf00b71a994b986c0223af07ae273 100644 (file)
@@ -41,8 +41,8 @@ ad102_gsp = {
 
 static struct nvkm_gsp_fwif
 ad102_gsps[] = {
-       { 1, tu102_gsp_load, &ad102_gsp, &r570_rm_ga102, "570.144", true },
-       { 0, tu102_gsp_load, &ad102_gsp, &r535_rm_ga102, "535.113.01", true },
+       { 1, tu102_gsp_load, &ad102_gsp, &r570_rm_ga102, "570.144" },
+       { 0, tu102_gsp_load, &ad102_gsp, &r535_rm_ga102, "535.113.01" },
        {}
 };
 
index 12a3f2c1ed825fa1813fb7aa2506ee4937ef26c7..1b3b31b95ce4680406d7a682dd11cd44d8d65840 100644 (file)
@@ -20,7 +20,7 @@ gb100_gsp = {
 
 static struct nvkm_gsp_fwif
 gb100_gsps[] = {
-       { 0, gh100_gsp_load, &gb100_gsp, &r570_rm_gb10x, "570.144", true },
+       { 0, gh100_gsp_load, &gb100_gsp, &r570_rm_gb10x, "570.144" },
        {}
 };
 
index c1d718172ddf0b15b129e68eb744643ddfe5747e..51384c63148ceaa4f5eead2b1e6c08829e53c56a 100644 (file)
@@ -20,7 +20,7 @@ gb202_gsp = {
 
 static struct nvkm_gsp_fwif
 gb202_gsps[] = {
-       { 0, gh100_gsp_load, &gb202_gsp, &r570_rm_gb20x, "570.144", true },
+       { 0, gh100_gsp_load, &gb202_gsp, &r570_rm_gb20x, "570.144" },
        {}
 };
 
index ce31e8248807bded3667ba52ba5d100302975222..b0dd5fce7bad369aaca94371dd9a83503a0e3301 100644 (file)
@@ -344,7 +344,7 @@ done:
 
 static struct nvkm_gsp_fwif
 gh100_gsps[] = {
-       { 0, gh100_gsp_load, &gh100_gsp, &r570_rm_gh100, "570.144", true },
+       { 0, gh100_gsp_load, &gh100_gsp, &r570_rm_gh100, "570.144" },
        {}
 };
 
index 4f14e85fc69e38bbc0774d648c023392bb9394c7..c3494b7ac572bcc5625c4250998c417c11b6bc9d 100644 (file)
@@ -14,7 +14,6 @@ struct nvkm_gsp_fwif {
        const struct nvkm_gsp_func *func;
        const struct nvkm_rm_impl *rm;
        const char *ver;
-       bool enable;
 };
 
 int nvkm_gsp_load_fw(struct nvkm_gsp *, const char *name, const char *ver,