gpu: nvgpu: gv100: set apply_ctxsw_timeout and ch_wdt_timeout_ms

-set apply_ctxsw_timeout_intr to NULL. This was added as
 part of DNI change SHA 1f71f475e2
-change ch_wdt_timeout_ms from 30ms to 7ms

Bug 2040544
Bug 2069807

Change-Id: I9125207146e1e3e42325ecda6a2aa7f1c07fdd3a
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1683719
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Vijayakumar
2018-03-05 10:15:34 +05:30
committed by mobile promotions
parent 29df4f3da6
commit 493d0c8af3
2 changed files with 1 additions and 5 deletions

View File

@@ -342,10 +342,7 @@ static struct gk20a_platform nvgpu_pci_device[] = {
.is_railgated = nvgpu_pci_tegra_is_railgated, .is_railgated = nvgpu_pci_tegra_is_railgated,
.clk_round_rate = nvgpu_pci_clk_round_rate, .clk_round_rate = nvgpu_pci_clk_round_rate,
/* .ch_wdt_timeout_ms = 7000,
* WAR: PCIE X1 is very slow, set to very high value till nvlink is up
*/
.ch_wdt_timeout_ms = 30000,
.honors_aperture = true, .honors_aperture = true,
.vbios_min_version = 0x1, .vbios_min_version = 0x1,

View File

@@ -534,7 +534,6 @@ static const struct gpu_ops gv100_ops = {
.device_info_fault_id = top_device_info_data_fault_id_enum_v, .device_info_fault_id = top_device_info_data_fault_id_enum_v,
.free_channel_ctx_header = gv11b_free_subctx_header, .free_channel_ctx_header = gv11b_free_subctx_header,
.preempt_ch_tsg = gv11b_fifo_preempt_ch_tsg, .preempt_ch_tsg = gv11b_fifo_preempt_ch_tsg,
.apply_ctxsw_timeout_intr = gv100_apply_ctxsw_timeout_intr,
}, },
.gr_ctx = { .gr_ctx = {
.get_netlist_name = gr_gv100_get_netlist_name, .get_netlist_name = gr_gv100_get_netlist_name,