summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/vgpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/vgpu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c
index 1e77cda9..17e80cd7 100644
--- a/drivers/gpu/nvgpu/vgpu/vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/vgpu.c
@@ -249,7 +249,7 @@ void vgpu_detect_chip(struct gk20a *g)
249 p->gpu_impl = priv->constants.impl; 249 p->gpu_impl = priv->constants.impl;
250 p->gpu_rev = priv->constants.rev; 250 p->gpu_rev = priv->constants.rev;
251 251
252 gk20a_dbg_info("arch: %x, impl: %x, rev: %x\n", 252 nvgpu_log_info(g, "arch: %x, impl: %x, rev: %x\n",
253 p->gpu_arch, 253 p->gpu_arch,
254 p->gpu_impl, 254 p->gpu_impl,
255 p->gpu_rev); 255 p->gpu_rev);
@@ -259,7 +259,7 @@ int vgpu_init_gpu_characteristics(struct gk20a *g)
259{ 259{
260 int err; 260 int err;
261 261
262 gk20a_dbg_fn(""); 262 nvgpu_log_fn(g, " ");
263 263
264 err = gk20a_init_gpu_characteristics(g); 264 err = gk20a_init_gpu_characteristics(g);
265 if (err) 265 if (err)
@@ -279,7 +279,7 @@ int vgpu_read_ptimer(struct gk20a *g, u64 *value)
279 struct tegra_vgpu_read_ptimer_params *p = &msg.params.read_ptimer; 279 struct tegra_vgpu_read_ptimer_params *p = &msg.params.read_ptimer;
280 int err; 280 int err;
281 281
282 gk20a_dbg_fn(""); 282 nvgpu_log_fn(g, " ");
283 283
284 msg.cmd = TEGRA_VGPU_CMD_READ_PTIMER; 284 msg.cmd = TEGRA_VGPU_CMD_READ_PTIMER;
285 msg.handle = vgpu_get_handle(g); 285 msg.handle = vgpu_get_handle(g);
@@ -304,7 +304,7 @@ int vgpu_get_timestamps_zipper(struct gk20a *g,
304 int err; 304 int err;
305 u32 i; 305 u32 i;
306 306
307 gk20a_dbg_fn(""); 307 nvgpu_log_fn(g, " ");
308 308
309 if (count > TEGRA_VGPU_GET_TIMESTAMPS_ZIPPER_MAX_COUNT) { 309 if (count > TEGRA_VGPU_GET_TIMESTAMPS_ZIPPER_MAX_COUNT) {
310 nvgpu_err(g, "count %u overflow", count); 310 nvgpu_err(g, "count %u overflow", count);
@@ -338,7 +338,7 @@ int vgpu_init_hal(struct gk20a *g)
338 338
339 switch (ver) { 339 switch (ver) {
340 case NVGPU_GPUID_GP10B: 340 case NVGPU_GPUID_GP10B:
341 gk20a_dbg_info("gp10b detected"); 341 nvgpu_log_info(g, "gp10b detected");
342 err = vgpu_gp10b_init_hal(g); 342 err = vgpu_gp10b_init_hal(g);
343 break; 343 break;
344 case NVGPU_GPUID_GV11B: 344 case NVGPU_GPUID_GV11B:
@@ -360,7 +360,7 @@ int vgpu_get_constants(struct gk20a *g)
360 struct vgpu_priv_data *priv = vgpu_get_priv_data(g); 360 struct vgpu_priv_data *priv = vgpu_get_priv_data(g);
361 int err; 361 int err;
362 362
363 gk20a_dbg_fn(""); 363 nvgpu_log_fn(g, " ");
364 364
365 msg.cmd = TEGRA_VGPU_CMD_GET_CONSTANTS; 365 msg.cmd = TEGRA_VGPU_CMD_GET_CONSTANTS;
366 msg.handle = vgpu_get_handle(g); 366 msg.handle = vgpu_get_handle(g);