mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
API gk20a_pm_resume() is called during system resume. While unrailgating in this path, we request MAX EMC, but then we never request a lower frequency after boot completes. To fix this, call gk20a_scale_notify_busy() after boot completes in gk20a_pm_resume() so that we request a lower EMC corresponding to current clock value Also, add corresponding gk20a_scale_notify_idle() call to gk20a_pm_suspend() Bug 200308543 Change-Id: I3859222abdf67805673467f383981be519a1cece Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1484660 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>