diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2018-08-17 17:31:11 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-07 00:33:30 -0400 |
commit | 034e23c197541e0e8ac6a4d95b1d3b6d1be885cd (patch) | |
tree | 0568a16cb6b5eddc52a1e5aa070b471fe7a0845d /drivers/gpu/nvgpu/pmgr | |
parent | c4ac750e985dddebe25308c7f9bd0a27a98feaa8 (diff) |
gpu: nvgpu: add gpu_powered_on sysfs
Add sysfs to indicate if GPU has ever been powered on.
This allows an application to avoid booting dGPU, when there is no
need for it. For instance the fan controller can check this value,
and refrain from booting the GPU, only to check the temperature.
This will save power, and also avoid locking some registers which
currently prevent from using VBIOS update tool.
Bug 200408936
Change-Id: I6344001e91e9eee8762ff8b227ca6698d8c6786f
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1802098
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr')
0 files changed, 0 insertions, 0 deletions