summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-08-08 13:53:25 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-09-12 16:00:19 -0400
commit89772b03cb093b3556dd4803e5a8deee60046ac9 (patch)
treec609de388b57161e9bb58ff21ef5aaf7ab663a5e /drivers/gpu/nvgpu/gk20a
parentb610bb95108afe54895219e06859cf241fabc9db (diff)
gpu: nvgpu: Move XVE debugfs code to Linux module
Move XVE debugfs initialization code to live under common/linux. JIRA NVGPU-62 Change-Id: Ic6677511d249bc0a2455dde01db5b230afc70bb1 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1535133 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c1
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 63ea5bc4..455fa238 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -329,7 +329,6 @@ int gk20a_finalize_poweron(struct gk20a *g)
329 if (platform->disable_aspm && g->ops.xve.disable_aspm) 329 if (platform->disable_aspm && g->ops.xve.disable_aspm)
330 g->ops.xve.disable_aspm(g); 330 g->ops.xve.disable_aspm(g);
331 331
332 g->ops.xve.sw_init(g);
333 g->ops.xve.available_speeds(g, &speed); 332 g->ops.xve.available_speeds(g, &speed);
334 333
335 /* Set to max speed */ 334 /* Set to max speed */
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 69cb2253..d2a752d7 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -971,7 +971,6 @@ struct gpu_ops {
971 } css; 971 } css;
972#endif 972#endif
973 struct { 973 struct {
974 int (*sw_init)(struct gk20a *g);
975 int (*get_speed)(struct gk20a *g, u32 *xve_link_speed); 974 int (*get_speed)(struct gk20a *g, u32 *xve_link_speed);
976 int (*set_speed)(struct gk20a *g, u32 xve_link_speed); 975 int (*set_speed)(struct gk20a *g, u32 xve_link_speed);
977 void (*available_speeds)(struct gk20a *g, u32 *speed_mask); 976 void (*available_speeds)(struct gk20a *g, u32 *speed_mask);
@@ -984,6 +983,7 @@ struct gpu_ops {
984#endif 983#endif
985 void (*enable_shadow_rom)(struct gk20a *g); 984 void (*enable_shadow_rom)(struct gk20a *g);
986 void (*disable_shadow_rom)(struct gk20a *g); 985 void (*disable_shadow_rom)(struct gk20a *g);
986 u32 (*get_link_control_status)(struct gk20a *g);
987 } xve; 987 } xve;
988 struct { 988 struct {
989 void (*falcon_hal_sw_init)(struct nvgpu_falcon *flcn); 989 void (*falcon_hal_sw_init)(struct nvgpu_falcon *flcn);