diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 7d577cda..7bd6acfd 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -332,7 +332,7 @@ int gk20a_finalize_poweron(struct gk20a *g) | |||
332 | if (platform->disable_aspm && g->ops.xve.disable_aspm) | 332 | if (platform->disable_aspm && g->ops.xve.disable_aspm) |
333 | g->ops.xve.disable_aspm(g); | 333 | g->ops.xve.disable_aspm(g); |
334 | 334 | ||
335 | g->ops.xve.sw_init(dev_from_gk20a(g)); | 335 | g->ops.xve.sw_init(g); |
336 | g->ops.xve.available_speeds(g, &speed); | 336 | g->ops.xve.available_speeds(g, &speed); |
337 | 337 | ||
338 | /* Set to max speed */ | 338 | /* Set to max speed */ |
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 83cdeb3f..aeba1fcd 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -969,7 +969,7 @@ struct gpu_ops { | |||
969 | } css; | 969 | } css; |
970 | #endif | 970 | #endif |
971 | struct { | 971 | struct { |
972 | int (*sw_init)(struct device *dev); | 972 | int (*sw_init)(struct gk20a *g); |
973 | int (*get_speed)(struct gk20a *g, u32 *xve_link_speed); | 973 | int (*get_speed)(struct gk20a *g, u32 *xve_link_speed); |
974 | int (*set_speed)(struct gk20a *g, u32 xve_link_speed); | 974 | int (*set_speed)(struct gk20a *g, u32 xve_link_speed); |
975 | void (*available_speeds)(struct gk20a *g, u32 *speed_mask); | 975 | void (*available_speeds)(struct gk20a *g, u32 *speed_mask); |