]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: IOCTL to disable timeouts
authorDeepak Nibade <dnibade@nvidia.com>
Thu, 20 Aug 2015 14:16:16 +0000 (19:46 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 10 Dec 2015 05:32:56 +0000 (21:32 -0800)
commit2724189a8d136f6ce570f95c216107fe5d6d5542
treedc0fb2925e6f340711aaa59a9b1572aa84e3d0e3
parent0ff2af6fdc8500583125ec21d19bd3d908280f06
gpu: nvgpu: IOCTL to disable timeouts

Add IOCTL NVGPU_DBG_GPU_IOCTL_TIMEOUT to support
disabling/re-enabling scheduler timeout from user space

If user space application is closed without re-enabling
the timeouts, kernel will restore the timeouts' state
while releasing the debug session

This is needed for debugging purpose

Bug 1514061

Change-Id: I32efb47ad09d793f3e7fd8f0aaa9720c8bc91272
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/788176
(cherry picked from commit e338eb25e9177ca25a2035f10b93e378ac8bbf16)
Reviewed-on: http://git-master/r/841468
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.c
drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h
drivers/gpu/nvgpu/gk20a/gk20a.h
include/uapi/linux/nvgpu.h