mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Debugfs for Volt
Changes: 1. Reading operating voltage and minimum voltage of chip. 2. Added nvgpu_volt_init_debugfs for creating the debugfs interface. 3. Command for reading current voltage: cat /sys/kernel/debug/gpu_pci/volt/current_voltage 4. Command for reading minimum voltage: cat /sys/kernel/debug/gpu_pci/volt/minimum_voltage Jira NVGPU-1731 Change-Id: I76d42fc376235f37c44d259398bd6f125a90413b Signed-off-by: rmylavarapu <rmylavarapu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1986403 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
9467646a87
commit
d174860854
@@ -52,6 +52,10 @@ struct nvgpu_os_linux_ops {
|
||||
struct {
|
||||
int (*init_debugfs)(struct gk20a *g);
|
||||
} fecs_trace;
|
||||
|
||||
struct {
|
||||
int (*init_debugfs)(struct gk20a *g);
|
||||
} volt;
|
||||
};
|
||||
|
||||
struct nvgpu_os_linux {
|
||||
|
||||
Reference in New Issue
Block a user