Skip to content

Commit 2e308a9

Browse files
drawocLyude
authored andcommitted
drm/nouveau: Remove nvkm_gsp_fwif.enable
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
1 parent e0ed674 commit 2e308a9

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ad102.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ ad102_gsp = {
4141

4242
static struct nvkm_gsp_fwif
4343
ad102_gsps[] = {
44-
{ 1, tu102_gsp_load, &ad102_gsp, &r570_rm_ga102, "570.144", true },
45-
{ 0, tu102_gsp_load, &ad102_gsp, &r535_rm_ga102, "535.113.01", true },
44+
{ 1, tu102_gsp_load, &ad102_gsp, &r570_rm_ga102, "570.144" },
45+
{ 0, tu102_gsp_load, &ad102_gsp, &r535_rm_ga102, "535.113.01" },
4646
{}
4747
};
4848

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gb100.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gb100_gsp = {
2020

2121
static struct nvkm_gsp_fwif
2222
gb100_gsps[] = {
23-
{ 0, gh100_gsp_load, &gb100_gsp, &r570_rm_gb10x, "570.144", true },
23+
{ 0, gh100_gsp_load, &gb100_gsp, &r570_rm_gb10x, "570.144" },
2424
{}
2525
};
2626

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gb202.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gb202_gsp = {
2020

2121
static struct nvkm_gsp_fwif
2222
gb202_gsps[] = {
23-
{ 0, gh100_gsp_load, &gb202_gsp, &r570_rm_gb20x, "570.144", true },
23+
{ 0, gh100_gsp_load, &gb202_gsp, &r570_rm_gb20x, "570.144" },
2424
{}
2525
};
2626

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gh100.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ gh100_gsp_load(struct nvkm_gsp *gsp, int ver, const struct nvkm_gsp_fwif *fwif)
344344

345345
static struct nvkm_gsp_fwif
346346
gh100_gsps[] = {
347-
{ 0, gh100_gsp_load, &gh100_gsp, &r570_rm_gh100, "570.144", true },
347+
{ 0, gh100_gsp_load, &gh100_gsp, &r570_rm_gh100, "570.144" },
348348
{}
349349
};
350350

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ struct nvkm_gsp_fwif {
1414
const struct nvkm_gsp_func *func;
1515
const struct nvkm_rm_impl *rm;
1616
const char *ver;
17-
bool enable;
1817
};
1918

2019
int nvkm_gsp_load_fw(struct nvkm_gsp *, const char *name, const char *ver,

0 commit comments

Comments
 (0)