diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index baafa801..0989e00a 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -39,6 +39,8 @@ | |||
39 | #include "common/ltc/ltc_gm20b.h" | 39 | #include "common/ltc/ltc_gm20b.h" |
40 | #include "common/ltc/ltc_gp10b.h" | 40 | #include "common/ltc/ltc_gp10b.h" |
41 | #include "common/ltc/ltc_gv11b.h" | 41 | #include "common/ltc/ltc_gv11b.h" |
42 | #include "common/fuse/fuse_gm20b.h" | ||
43 | #include "common/fuse/fuse_gp10b.h" | ||
42 | 44 | ||
43 | #include "gk20a/gk20a.h" | 45 | #include "gk20a/gk20a.h" |
44 | #include "gk20a/fifo_gk20a.h" | 46 | #include "gk20a/fifo_gk20a.h" |
@@ -65,7 +67,6 @@ | |||
65 | #include "gp10b/mm_gp10b.h" | 67 | #include "gp10b/mm_gp10b.h" |
66 | #include "gp10b/pmu_gp10b.h" | 68 | #include "gp10b/pmu_gp10b.h" |
67 | #include "gp10b/gr_gp10b.h" | 69 | #include "gp10b/gr_gp10b.h" |
68 | #include "gp10b/fuse_gp10b.h" | ||
69 | 70 | ||
70 | #include "gp106/pmu_gp106.h" | 71 | #include "gp106/pmu_gp106.h" |
71 | #include "gp106/acr_gp106.h" | 72 | #include "gp106/acr_gp106.h" |
@@ -100,7 +101,6 @@ | |||
100 | #include <nvgpu/hw/gv11b/hw_ram_gv11b.h> | 101 | #include <nvgpu/hw/gv11b/hw_ram_gv11b.h> |
101 | #include <nvgpu/hw/gv11b/hw_top_gv11b.h> | 102 | #include <nvgpu/hw/gv11b/hw_top_gv11b.h> |
102 | #include <nvgpu/hw/gv11b/hw_pwr_gv11b.h> | 103 | #include <nvgpu/hw/gv11b/hw_pwr_gv11b.h> |
103 | #include <nvgpu/hw/gv11b/hw_fuse_gv11b.h> | ||
104 | #include <nvgpu/hw/gv11b/hw_gr_gv11b.h> | 104 | #include <nvgpu/hw/gv11b/hw_gr_gv11b.h> |
105 | 105 | ||
106 | int gv11b_get_litter_value(struct gk20a *g, int value) | 106 | int gv11b_get_litter_value(struct gk20a *g, int value) |
@@ -689,7 +689,7 @@ static const struct gpu_ops gv11b_ops = { | |||
689 | .pmu_pg_init_param = gv11b_pg_gr_init, | 689 | .pmu_pg_init_param = gv11b_pg_gr_init, |
690 | .pmu_pg_supported_engines_list = gk20a_pmu_pg_engines_list, | 690 | .pmu_pg_supported_engines_list = gk20a_pmu_pg_engines_list, |
691 | .pmu_pg_engines_feature_list = gk20a_pmu_pg_feature_list, | 691 | .pmu_pg_engines_feature_list = gk20a_pmu_pg_feature_list, |
692 | .dump_secure_fuses = pmu_dump_security_fuses_gp10b, | 692 | .dump_secure_fuses = pmu_dump_security_fuses_gm20b, |
693 | .reset_engine = gp106_pmu_engine_reset, | 693 | .reset_engine = gp106_pmu_engine_reset, |
694 | .is_engine_in_reset = gp106_pmu_is_engine_in_reset, | 694 | .is_engine_in_reset = gp106_pmu_is_engine_in_reset, |
695 | .pmu_nsbootstrap = gv11b_pmu_bootstrap, | 695 | .pmu_nsbootstrap = gv11b_pmu_bootstrap, |
@@ -801,6 +801,16 @@ static const struct gpu_ops gv11b_ops = { | |||
801 | .is_opt_ecc_enable = gp10b_fuse_is_opt_ecc_enable, | 801 | .is_opt_ecc_enable = gp10b_fuse_is_opt_ecc_enable, |
802 | .is_opt_feature_override_disable = | 802 | .is_opt_feature_override_disable = |
803 | gp10b_fuse_is_opt_feature_override_disable, | 803 | gp10b_fuse_is_opt_feature_override_disable, |
804 | .fuse_status_opt_fbio = gm20b_fuse_status_opt_fbio, | ||
805 | .fuse_status_opt_fbp = gm20b_fuse_status_opt_fbp, | ||
806 | .fuse_status_opt_rop_l2_fbp = gm20b_fuse_status_opt_rop_l2_fbp, | ||
807 | .fuse_status_opt_tpc_gpc = gm20b_fuse_status_opt_tpc_gpc, | ||
808 | .fuse_ctrl_opt_tpc_gpc = gm20b_fuse_ctrl_opt_tpc_gpc, | ||
809 | .fuse_opt_sec_debug_en = gm20b_fuse_opt_sec_debug_en, | ||
810 | .fuse_opt_priv_sec_en = gm20b_fuse_opt_priv_sec_en, | ||
811 | .read_vin_cal_fuse_rev = NULL, | ||
812 | .read_vin_cal_slope_intercept_fuse = NULL, | ||
813 | .read_vin_cal_gain_offset_fuse = NULL, | ||
804 | }, | 814 | }, |
805 | .chip_init_gpu_characteristics = gv11b_init_gpu_characteristics, | 815 | .chip_init_gpu_characteristics = gv11b_init_gpu_characteristics, |
806 | .get_litter_value = gv11b_get_litter_value, | 816 | .get_litter_value = gv11b_get_litter_value, |