mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
In current design, the new increments are added to the threshold for fence allocation. So if it fails to get gk20a_fence, decrease the new increments before bailing out from __gk20a_channel_syncpt_incr() and propagating the error code. Bug 1867651 Change-Id: I8a21bf0afef1d9ebe660ebea59d877acad1b726a Signed-off-by: Ken Chang <kenc@nvidia.com> Reviewed-on: http://git-master/r/1300421 (cherry picked from commit a4a55f1851834042ab14e487f1ff0d497509ff24) Reviewed-on: https://git-master.nvidia.com/r/1609824 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>