diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2017-04-12 14:31:51 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-14 15:14:24 -0400 |
commit | 1d95b96652c48a85a59daca9ab05397ded785a66 (patch) | |
tree | 97bd30a6fa122fe503ce0bdd8ecd7de7f36f6283 /drivers/gpu/nvgpu/pmgr/pmgrpmu.h | |
parent | 4aec9b0233c85496ecf3fe0c564b0019b8673410 (diff) |
gpu: nvgpu: fix pid mapping for dGPU FECS traces
For dGPU, instance block is in vidmem, and context_ptr
was not properly computed, leading to reporting pid=0 in
FECS traces.
Use gk20a_mm_inst_block_addr, which handles all cases
to determine instance block physical address.
Bug 1899195
Change-Id: If003d9f00aff66d808e66c06baf6ded38699981a
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1461646
(cherry picked from commit 0a58c5ace036cdf53e3555afe33f694b801f2629)
Reviewed-on: http://git-master/r/1462396
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pmgrpmu.h')
0 files changed, 0 insertions, 0 deletions