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/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |
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/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, |