mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
With the existing implemenatation ELPG was disabled and enabled once for handling stall isr and then again ELPG is disabled and aenabled for writing to gr retrigger register. This increased number of ELPG cycles and degraded perf of various graphics test with ELPG enabled. This change now disables ELPG, then handles stall_isr and write to gr retrigger register and then enables ELPG. Thus, number of ELPG cycles are reduced. Bug 3451615 Change-Id: Iadac0c7b01eb711878280cd1503ba0f26000937c Signed-off-by: Divya <dsinghatwari@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2638175 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit