summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2018-09-12 17:51:40 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-27 18:05:34 -0400
commitf89ea110417e1c83cf21f495d6da7cdc8138a29f (patch)
tree198f25d08d650e5a42470eb1823b441c07d8b71f /drivers/gpu/nvgpu/include
parente3ae03e17abd452c157545234348692364b4b9f6 (diff)
gpu: nvgpu: Move FB reset to MC unit
FB reset is done by accessing MC register. Move the code to MC unit. JIRA NVGPU-954 Change-Id: I1636887af805f016da5490af65e808f9ac015cde Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1823385 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/gk20a.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
index 5a9c56e0..104d463b 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/gk20a.h
@@ -521,7 +521,6 @@ struct gpu_ops {
521 void (*init_hw)(struct gk20a *g); 521 void (*init_hw)(struct gk20a *g);
522 void (*init_cbc)(struct gk20a *g, struct gr_gk20a *gr); 522 void (*init_cbc)(struct gk20a *g, struct gr_gk20a *gr);
523 void (*init_fs_state)(struct gk20a *g); 523 void (*init_fs_state)(struct gk20a *g);
524 void (*reset)(struct gk20a *g);
525 void (*init_uncompressed_kind_map)(struct gk20a *g); 524 void (*init_uncompressed_kind_map)(struct gk20a *g);
526 void (*init_kind_attr)(struct gk20a *g); 525 void (*init_kind_attr)(struct gk20a *g);
527 void (*set_mmu_page_size)(struct gk20a *g); 526 void (*set_mmu_page_size)(struct gk20a *g);
@@ -1177,6 +1176,7 @@ struct gpu_ops {
1177 void (*log_pending_intrs)(struct gk20a *g); 1176 void (*log_pending_intrs)(struct gk20a *g);
1178 void (*fbpa_isr)(struct gk20a *g); 1177 void (*fbpa_isr)(struct gk20a *g);
1179 u32 (*reset_mask)(struct gk20a *g, enum nvgpu_unit unit); 1178 u32 (*reset_mask)(struct gk20a *g, enum nvgpu_unit unit);
1179 void (*fb_reset)(struct gk20a *g);
1180 } mc; 1180 } mc;
1181 struct { 1181 struct {
1182 void (*show_dump)(struct gk20a *g, 1182 void (*show_dump)(struct gk20a *g,