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 <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/718597
Reviewed-by: Automatic_Commit_Validation_User
This commit is contained in:
Terje Bergstrom
2015-03-17 12:39:42 -07:00
committed by Dan Willemsen
parent d788d86e01
commit 079956c566

View File

@@ -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)