diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2014-05-27 09:49:45 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:58 -0400 |
commit | cd9f8553ad1e6e03e8a3a70cb8d08edd3513fb66 (patch) | |
tree | e934093697d0d849d1068aa4cb41653c521af6f7 /drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |
parent | 3f7be93dab3ccb5f1cfc2a65013ff8fefaa5bbbd (diff) |
gpu: nvgpu: sysfs to put gpu into idle
- Add a sysfs "force_idle" to forcibly idle the GPU
- read on this sysfs will return the current status
0 : not in idle (running)
1 : in forced idle state
"echo 1 > force_idle" will force the gpu into idle
"echo 0 > force_idle" will cause the gpu to resume
Bug 1376916
Bug 1487804
Change-Id: I48dfd52e0d14561220bc4baea0776d1bdfaa7ea5
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
0 files changed, 0 insertions, 0 deletions