diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-03-17 15:39:42 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 22:01:58 -0400 |
commit | 079956c5669df0dfcfff4358a5183e01bd66cba3 (patch) | |
tree | 7750d455a573d0add710426cf96d8a50f0469278 /drivers | |
parent | d788d86e01b44262b10f7b4d96e0cc8aaf478f74 (diff) |
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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
1900 | gk20a_dbg(gpu_dbg_pte, | 1900 | gk20a_dbg(gpu_dbg_pte, |
1901 | "pte=%d iova=0x%llx kind=%d ctag=%d vol=%d [0x%08x, 0x%08x]", | 1901 | "pte=%d iova=0x%llx kind=%d ctag=%d vol=%d [0x%08x, 0x%08x]", |
1902 | i, iova, | 1902 | i, iova, |
1903 | kind_v, *ctag, !cacheable, | 1903 | kind_v, *ctag / ctag_granularity, !cacheable, |
1904 | pte_w[1], pte_w[0]); | 1904 | pte_w[1], pte_w[0]); |
1905 | 1905 | ||
1906 | if (*ctag) | 1906 | if (*ctag) |