diff options
author | Lakshmanan M <lm@nvidia.com> | 2016-08-23 05:40:58 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-01 12:11:35 -0400 |
commit | 8de995d4af1916a47a50b0b13965058c9873f962 (patch) | |
tree | 6a286c36c71c3bcc4283eb4d65f740c6741a63a9 /drivers/gpu/nvgpu/vgpu/gm20b | |
parent | 89d1075f26f22d81965b5fc0643c0a79ff9fbddf (diff) |
gpu: nvgpu: Add proper timeout handling for vidmem clear operations
gk20a_fence_wait() api may be interrupted by a signal before actual
its timeout elapsed. This CL does retry (-ERESTARTSYS) mechanism
if gk20a_fence_wait() return before its timeout elapsed.
Bug 200230544
Change-Id: I347ed2004935a8b9413f95dcb6fca2b74bf49f2a
Signed-off-by: Lakshmanan M <lm@nvidia.com>
Reviewed-on: http://git-master/r/1206265
(cherry picked from commit d3ef533942487785d84d109f985ae648eb3c2434)
Reviewed-on: http://git-master/r/1210955
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gm20b')
0 files changed, 0 insertions, 0 deletions