diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-03-22 09:47:43 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-28 15:13:07 -0400 |
commit | d20a501dcbf2e29d5d319670485f273afa3aefad (patch) | |
tree | 22d3443589f0cf3186ef2c4096d0f82569b5401b /drivers/gpu/nvgpu/perf/perf.c | |
parent | 9b70ad24934988141c585d9fd85c59f5c9d58a38 (diff) |
gpu: nvgpu: simplify job semaphore release in abort
Instead of looping all jobs and releasing their semaphores separately,
do just one semaphore release. All the jobs are using the same sema
index, and the final, maximum value of it is known.
Move also this resetting into ch->sync->set_min_eq_max() to be
consistent with syncpoints.
Change-Id: I03601aae67db0a65750c8df6b43387c042d383bd
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1680362
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@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>
Diffstat (limited to 'drivers/gpu/nvgpu/perf/perf.c')
0 files changed, 0 insertions, 0 deletions