mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
For every copy_back enabled PMU cmd sent by NVGPU we are waiting for PMU response but not checking for timeout error. This will result in copying invalid data which causes errors. Implemented timeout check and return error if timedout. NVBUG-200530426 Change-Id: I32eba16eeb6f7a56724329ab6d85fae062c6fa3f Signed-off-by: rmylavarapu <rmylavarapu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2258947 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>