summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.c
diff options
context:
space:
mode:
authorDavid Nieto <dmartineznie@nvidia.com>2017-04-06 18:46:36 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-09-22 18:49:37 -0400
commit7eabc16b8488e20a6cbfe1a80dc99a0b046750eb (patch)
tree1adf2b98e4473d575ebce14bb45298eb9efc7e35 /drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.c
parent90568a2ce58c03f457bdd4fab6675cd327ed13fd (diff)
gpu: nvgpu: defer channel worker initialization
kthread_run can fail if SIGKILL is triggered on an application during driver load. On this change we defer the channel worker init to the enqueue to avoid this condition during driver power on which would cause the driver state to be corrupted leaving subsequent attempts to load the driver unsuccesful. By moving this code to a later time, it is now needed to protect the task structure with a mutex. JIRA: EVLR-956 Bug 1816515 Change-Id: I3a159de2d1f03e70b2a3969730a927532ede2d6e Signed-off-by: David Nieto <dmartineznie@nvidia.com> Reviewed-on: http://git-master/r/1462490 Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Vladislav Buzov <vbuzov@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1460689 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_ctx_gk20a.c')
0 files changed, 0 insertions, 0 deletions