summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c b/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c
index 77479d99..9ee06bf3 100644
--- a/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c
@@ -1179,10 +1179,11 @@ static int nvgpu_gpu_get_event_fd(struct gk20a *g,
1179 1179
1180 gk20a_dbg_fn(""); 1180 gk20a_dbg_fn("");
1181 1181
1182 if (!session || args->flags) 1182 if (!session)
1183 return -EINVAL; 1183 return -EINVAL;
1184 1184
1185 return nvgpu_clk_arb_install_event_fd(g, session, &args->event_fd); 1185 return nvgpu_clk_arb_install_event_fd(g, session, &args->event_fd,
1186 args->flags);
1186} 1187}
1187 1188
1188static int nvgpu_gpu_get_voltage(struct gk20a *g, 1189static int nvgpu_gpu_get_voltage(struct gk20a *g,