gpu: nvgpu: header update for ENGINE_DELAY_BEFORE

- Update HW header to increase ENGINE_DELAY_BEFORE
  field from 4 clk utils to 10 clk utils.
- The increase from 4 to 10 means the ELCG will
  wait 2^10 utilsclk after all engine/priv reports
  idle.
- With clk utils set to 4, when performance_cudaGraphs
  is run target hangs.
- This change is needed for cuda tests to run and
  pass on qnx.

Bug 3821730
Bug 4475968

Change-Id: Iec579021d16eef03b481e5e45bc9362734cb0f3d
Signed-off-by: Divya <dsinghatwari@nvidia.com>
(cherry picked from commit 2b1df1cef738def5e41a884d442698bb226cbb57)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/3009686
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/3108175
Tested-by: Viresh Kumar <vireshk@nvidia.com>
Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Divya
2023-11-02 07:47:38 +00:00
committed by mobile promotions
parent 831a0f7712
commit 53708f15bf

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -90,7 +90,7 @@
#define therm_gate_ctrl_eng_idle_filt_mant_m() (U32(0x7U) << 13U)
#define therm_gate_ctrl_eng_idle_filt_mant__prod_f() (0x2000U)
#define therm_gate_ctrl_eng_delay_before_m() (U32(0xfU) << 16U)
#define therm_gate_ctrl_eng_delay_before__prod_f() (0x40000U)
#define therm_gate_ctrl_eng_delay_before__prod_f() (0xa0000U)
#define therm_gate_ctrl_eng_delay_after_m() (U32(0xfU) << 20U)
#define therm_gate_ctrl_eng_delay_after__prod_f() (0x0U)
#define therm_fecs_idle_filter_r() (0x00020288U)