summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c4
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h6
2 files changed, 7 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 17ba3ee4..d1ad5992 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -187,8 +187,8 @@ int gk20a_finalize_poweron(struct gk20a *g)
187 nvgpu_flcn_sw_init(g, FALCON_ID_PMU); 187 nvgpu_flcn_sw_init(g, FALCON_ID_PMU);
188 nvgpu_flcn_sw_init(g, FALCON_ID_SEC2); 188 nvgpu_flcn_sw_init(g, FALCON_ID_SEC2);
189 189
190 if (g->ops.bios_init) 190 if (g->ops.bios.init)
191 err = g->ops.bios_init(g); 191 err = g->ops.bios.init(g);
192 if (err) 192 if (err)
193 goto done; 193 goto done;
194 194
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 97b40474..537d03d8 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -969,7 +969,11 @@ struct gpu_ops {
969 int (*bar1_bind)(struct gk20a *g, struct nvgpu_mem *bar1_inst); 969 int (*bar1_bind)(struct gk20a *g, struct nvgpu_mem *bar1_inst);
970 } bus; 970 } bus;
971 971
972 int (*bios_init)(struct gk20a *g); 972 struct {
973 int (*init)(struct gk20a *g);
974 int (*preos_wait_for_halt)(struct gk20a *g);
975 void (*preos_reload_check)(struct gk20a *g);
976 } bios;
973 977
974#if defined(CONFIG_GK20A_CYCLE_STATS) 978#if defined(CONFIG_GK20A_CYCLE_STATS)
975 struct { 979 struct {