diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-05-12 20:26:39 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-08-30 13:04:23 -0400 |
commit | 0e69c6707b974726459759464bc7876afe894740 (patch) | |
tree | 66fd423431695a8f319597078b32eb904ee27b9b /drivers/gpu/nvgpu/gk20a/ltc_common.c | |
parent | 39624a04d8c325958c40c0e44acd4fcc9cfeed95 (diff) |
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 <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1198593
(cherry picked from commit 51dba53b06ca171cdb13d1707f2d026b0ce29f07)
Reviewed-on: http://git-master/r/1147670
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ltc_common.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ltc_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ltc_common.c b/drivers/gpu/nvgpu/gk20a/ltc_common.c index 5795fe91..e1c23f79 100644 --- a/drivers/gpu/nvgpu/gk20a/ltc_common.c +++ b/drivers/gpu/nvgpu/gk20a/ltc_common.c | |||
@@ -120,7 +120,7 @@ static void gk20a_ltc_init_cbc(struct gk20a *g, struct gr_gk20a *gr) | |||
120 | gk20a_writel(g, ltc_ltcs_ltss_cbc_base_r(), | 120 | gk20a_writel(g, ltc_ltcs_ltss_cbc_base_r(), |
121 | compbit_base_post_divide); | 121 | compbit_base_post_divide); |
122 | 122 | ||
123 | gk20a_dbg(gpu_dbg_info | gpu_dbg_map | gpu_dbg_pte, | 123 | gk20a_dbg(gpu_dbg_info | gpu_dbg_map_v | gpu_dbg_pte, |
124 | "compbit base.pa: 0x%x,%08x cbc_base:0x%08x\n", | 124 | "compbit base.pa: 0x%x,%08x cbc_base:0x%08x\n", |
125 | (u32)(compbit_store_iova >> 32), | 125 | (u32)(compbit_store_iova >> 32), |
126 | (u32)(compbit_store_iova & 0xffffffff), | 126 | (u32)(compbit_store_iova & 0xffffffff), |