mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
ELPG_DISALLOW command fails during gk20a shutdown. It was due to nvgpu_can_busy() which was returning 0 before without acknowledging the ELPG_DISALLOW command. Since the system is shutting down so fix this issue by setting the ACK for disallow command without waiting for actual ACK from PMU. In doing so the state machine is also maintained properly and the driver does not dump fail stats. BUG 200588696 Change-Id: I943d8e6108fa0f9c418ccb1a7f061307823f1ec6 Signed-off-by: Divya Singhatwaria <dsinghatwari@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2308557 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> 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