From 401118f88b3ff2adc99d325fc22ba3c34a75016a Mon Sep 17 00:00:00 2001 From: Alex Frid Date: Mon, 9 Feb 2015 21:46:13 -0800 Subject: gpu: nvgpu: Add Fmax at Vmin debugfs node Change-Id: I547cc02a544d117a4c76bf2541b9594d0769c2ef Signed-off-by: Alex Frid Reviewed-on: http://git-master/r/682822 GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu Reviewed-by: Yu-Huan Hsu --- drivers/gpu/nvgpu/gm20b/clk_gm20b.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/gpu/nvgpu/gm20b/clk_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c index 56a03e46..9f1068ee 100644 --- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c @@ -1653,6 +1653,11 @@ static int clk_gm20b_debugfs_init(struct gk20a *g) if (!d) goto err_out; + d = debugfs_create_u32("fmax2x_at_vmin_safe_t", S_IRUGO, + platform->debugfs, (u32 *)&dvfs_safe_max_freq); + if (!d) + goto err_out; + return 0; err_out: -- cgit v1.2.2