From 079956c5669df0dfcfff4358a5183e01bd66cba3 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 17 Mar 2015 12:39:42 -0700 Subject: gpu: nvgpu: Fix comptag index in trace Instead of comptag index we were dumping an offset in buffer. Change-Id: Iaa07919c8d87009227556eacbcb6dcbd83954c7d Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/718597 Reviewed-by: Automatic_Commit_Validation_User --- drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index a01836eb..9a61a779 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c @@ -1900,7 +1900,7 @@ static int update_gmmu_pte_locked(struct vm_gk20a *vm, gk20a_dbg(gpu_dbg_pte, "pte=%d iova=0x%llx kind=%d ctag=%d vol=%d [0x%08x, 0x%08x]", i, iova, - kind_v, *ctag, !cacheable, + kind_v, *ctag / ctag_granularity, !cacheable, pte_w[1], pte_w[0]); if (*ctag) -- cgit v1.2.2