diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2017-04-12 08:29:37 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-19 15:15:56 -0400 |
commit | afe12a49f7c61b5725113e2b9d2a5121d7913383 (patch) | |
tree | dc4505d7ae50ac96092dbe3a11c315a8d1d2eef4 /include | |
parent | f4e36283437ff5dfcac08205aa994c62d95e1d21 (diff) |
gpu: nvgpu: add missing busy calls for ctrl ioctls
The following ioctls:
- NVGPU_GPU_IOCTL_WAIT_FOR_PAUSE
- NVGPU_GPU_IOCTL_RESUME_FROM_PAUSE
- NVGPU_GPU_IOCTL_TRIGGER_SUSPEND
- NVGPU_GPU_IOCTL_CLEAR_SM_ERRORS
access hardware registers, so they should make sure that the gpu is
powered on first. Add gk20a_{busy,idle}() pairs for them.
Bug 1849661
Change-Id: I7deabf4a2c1c7d069a6134233f8e86df0a2722c8
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1461449
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions