gpu: nvgpu: adjust the max idle filter for AELPG

- When we enable AELPG, we send maximum idle threshold value
  as one of the parameters.
- This was set to 70 msec whereas the ELPG IDLE threshold
  was set to 15 msec.
- Thus, when AELPG is enabled, the threshold is getting modified
  to a much higher value. So sometimes ELPG is not getting engaged
  and this is leading to timeout in ELPG MODS 101 test on GVS.

Bug 3737783

Change-Id: Iac94f053e19cea5898b962c3d02369d556b8518f
Signed-off-by: Divya <dsinghatwari@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2786749
(cherry picked from commit 5010eaffda2ecaf6c9cc5f0fed68498cb2947071)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2809154
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Divya
2022-10-04 12:17:05 +00:00
committed by mobile promotions
parent 53aa8b7244
commit f6aedfc36b

View File

@@ -52,7 +52,7 @@
* CYCLES_PER_SAMPLE_MAX_DEFAULT : Maximum power feature cycles per AP sample
*/
#define NV_PMU_PG_AP_IDLE_FILTER_MIN_DEFAULT_US (100)
#define NV_PMU_PG_AP_IDLE_FILTER_MAX_DEFAULT_US (70000)
#define NV_PMU_PG_AP_IDLE_FILTER_MAX_DEFAULT_US (15000)
#define NV_PMU_PG_AP_MIN_RESIDENCY_DEFAULT (1)
#define NV_PMU_PG_AP_BREAK_EVEN_RESIDENT_TIME_DEFAULT_US (1300)
#define NV_PMU_PG_AP_CYCLES_PER_SAMPLE_MAX_DEFAULT (100)