diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-05-23 07:33:28 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-02 13:53:47 -0400 |
commit | 96cf9748a776e06ae9d9827b5e9adc58a6c25d80 (patch) | |
tree | a0714ebd4b90f5c10e32e6bacbec34a659ff9c3b /drivers/gpu/nvgpu/vgpu/gp10b | |
parent | 6090a8a7ee347f92d806f104d3a0082208f5df64 (diff) |
gpu: nvgpu: nvgpu_thread to handle PMU state changes
- Replaced schedule_worker() with nvgpu_thread along
with nvgpu_cond_wait() to handle PMU state machine
changes during boot.
- Added new state "PMU_STATE_EXIT" to exit
PMU state machine loop & wait for the
thread stop signal.
- In gk20a_init_pmu_setup_sw() thread creates &
starts thread execution to handle PMU state changes.
- In pmu_destroy() thread post PMU_STATE_EXIT
& waits for pending operation to complete
before thread destroy.
JIRA NVGPU-56
Change-Id: I951208bf88e82c281e3e678ddc603d58aec5ab10
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/1487882
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gp10b')
0 files changed, 0 insertions, 0 deletions