diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2014-11-17 10:37:35 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:12:16 -0400 |
commit | e22d0082ec96864c0689848945f6c41a5f1419af (patch) | |
tree | 1d19e48deea8a624e286308f5c2558866ee878f8 /drivers/gpu/nvgpu/gm20b | |
parent | 617541236b2dcf980f7c9e3c6441472f1cc7bf62 (diff) |
gpu: nvgpu: cde: wait for ctx deletion before get
Wait for possible temp context deletion to finish properly before
passing contexts around later, to prevent situations where the context
deleter scheduling would have been completed, but running it would not,
and a new one could have been scheduled again. When finished, schedule
the deleter before freeing the context back to use to prevent races.
Warn in impossible situations when these double deletions would happen.
Bug 200054186
Bug 200052943
Change-Id: I23ca0d1081eea77d0e453b9038adc914909b5f48
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/603439
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
0 files changed, 0 insertions, 0 deletions