summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-11-07 13:47:20 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-09 17:27:13 -0500
commit5b368d3e46b946ed2a6b1b70ad2ac600740e582a (patch)
treecf90c41cd375c4cb31254e851fbb255324cc0b61 /drivers/gpu/nvgpu/gv11b/hal_gv11b.c
parentf7f325deb926e4b7253ff31389219c71b9f2148e (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/gv11b/hal_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.c1
1 files changed, 0 insertions, 1 deletions
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,