diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-07 13:47:20 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-09 17:27:13 -0500 |
commit | 5b368d3e46b946ed2a6b1b70ad2ac600740e582a (patch) | |
tree | cf90c41cd375c4cb31254e851fbb255324cc0b61 /drivers/gpu | |
parent | f7f325deb926e4b7253ff31389219c71b9f2148e (diff) |
gpu: nvgpu: gv1xx: Move fuse override DT handling
Move fuse override DT handling to Linux code. All the chip specific
fuse override functions did the same thing, so delete the HAL and
call the same function to read the DT overrides on all chips.
Also remove the fuse override functionality from dGPU. There are no
DT entries for PCIe devices, so it would've failed anyway.
JIRA NVGPU-259
Change-Id: Ic672e25090cdfc207d9771ab61b6cf53185113a4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1593693
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/hal_gv100.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index 30b8e2c3..4ee333b5 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c | |||
@@ -334,7 +334,6 @@ static const struct gpu_ops gv100_ops = { | |||
334 | .suspend_contexts = gr_gp10b_suspend_contexts, | 334 | .suspend_contexts = gr_gp10b_suspend_contexts, |
335 | .resume_contexts = gr_gk20a_resume_contexts, | 335 | .resume_contexts = gr_gk20a_resume_contexts, |
336 | .get_preemption_mode_flags = gr_gp10b_get_preemption_mode_flags, | 336 | .get_preemption_mode_flags = gr_gp10b_get_preemption_mode_flags, |
337 | .fuse_override = gp10b_gr_fuse_override, | ||
338 | .init_sm_id_table = gr_gv100_init_sm_id_table, | 337 | .init_sm_id_table = gr_gv100_init_sm_id_table, |
339 | .load_smid_config = gr_gv11b_load_smid_config, | 338 | .load_smid_config = gr_gv11b_load_smid_config, |
340 | .program_sm_id_numbering = gr_gv11b_program_sm_id_numbering, | 339 | .program_sm_id_numbering = gr_gv11b_program_sm_id_numbering, |
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index faa67f02..ced5006d 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -300,7 +300,6 @@ static const struct gpu_ops gv11b_ops = { | |||
300 | .suspend_contexts = gr_gp10b_suspend_contexts, | 300 | .suspend_contexts = gr_gp10b_suspend_contexts, |
301 | .resume_contexts = gr_gk20a_resume_contexts, | 301 | .resume_contexts = gr_gk20a_resume_contexts, |
302 | .get_preemption_mode_flags = gr_gp10b_get_preemption_mode_flags, | 302 | .get_preemption_mode_flags = gr_gp10b_get_preemption_mode_flags, |
303 | .fuse_override = gp10b_gr_fuse_override, | ||
304 | .init_sm_id_table = gr_gv100_init_sm_id_table, | 303 | .init_sm_id_table = gr_gv100_init_sm_id_table, |
305 | .load_smid_config = gr_gv11b_load_smid_config, | 304 | .load_smid_config = gr_gv11b_load_smid_config, |
306 | .program_sm_id_numbering = gr_gv11b_program_sm_id_numbering, | 305 | .program_sm_id_numbering = gr_gv11b_program_sm_id_numbering, |
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c index 5adb8ecd..a2c95edd 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -183,7 +183,6 @@ static const struct gpu_ops vgpu_gv11b_ops = { | |||
183 | .suspend_contexts = vgpu_gr_suspend_contexts, | 183 | .suspend_contexts = vgpu_gr_suspend_contexts, |
184 | .resume_contexts = vgpu_gr_resume_contexts, | 184 | .resume_contexts = vgpu_gr_resume_contexts, |
185 | .get_preemption_mode_flags = gr_gp10b_get_preemption_mode_flags, | 185 | .get_preemption_mode_flags = gr_gp10b_get_preemption_mode_flags, |
186 | .fuse_override = gp10b_gr_fuse_override, | ||
187 | .init_sm_id_table = gr_gv100_init_sm_id_table, | 186 | .init_sm_id_table = gr_gv100_init_sm_id_table, |
188 | .load_smid_config = gr_gv11b_load_smid_config, | 187 | .load_smid_config = gr_gv11b_load_smid_config, |
189 | .program_sm_id_numbering = gr_gv11b_program_sm_id_numbering, | 188 | .program_sm_id_numbering = gr_gv11b_program_sm_id_numbering, |