From 0e69c6707b974726459759464bc7876afe894740 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 12 May 2016 17:26:39 -0700 Subject: gpu: nvgpu: Add gpu_dbg_map_v message type Add a new debug message type: gpu_dbg_map_v. This is used for mapping messages that are not specifically memory map operations. Also cleanup the memory mapping debugging a bit since there was one duplicate print and the memory map print was difficult to parse visually. As a result the message has been modified to put the most important information first in an easily readable format. Bug 1732449 JIRA DNVGPU-12 Change-Id: Ib19c9371ee958009ab5a2d89b9610e699d070ee2 Signed-off-by: Alex Waterman Reviewed-on: http://git-master/r/1198593 (cherry picked from commit 51dba53b06ca171cdb13d1707f2d026b0ce29f07) Reviewed-on: http://git-master/r/1147670 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/vgpu/fifo_vgpu.c') diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c index a797bad4..2bd36b91 100644 --- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c @@ -272,7 +272,7 @@ static int vgpu_init_fifo_setup_sw(struct gk20a *g) if (resource_size(g->bar1_mem) == (resource_size_t)f->userd.size) f->userd.gpu_va = 0; - gk20a_dbg(gpu_dbg_map, "userd bar1 va = 0x%llx", f->userd.gpu_va); + gk20a_dbg(gpu_dbg_map_v, "userd bar1 va = 0x%llx", f->userd.gpu_va); f->channel = vzalloc(f->num_channels * sizeof(*f->channel)); f->tsg = vzalloc(f->num_channels * sizeof(*f->tsg)); -- cgit v1.2.2