diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2015-02-25 20:38:05 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:57:28 -0400 |
commit | 182730599e3636b337b76fa49adbc1a5b243667f (patch) | |
tree | dcb44fbcdb0ebcd55066f661ba826849b07fd2e2 /drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |
parent | ced17a2d31a49b771b0cc9715f15330a408f8e69 (diff) |
gpu: nvgpu: support for dumping vpr/wpr info
Added support for dumping vpr/wpr info for gm20b.
This dump info called when ever gk20a_mm_fb_flush
is timed-out.
Bug 200082817
Change-Id: I21b0372d0e3f976a189c9c428c015165b715bf88
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/711439
(cherry picked from commit b69897d71c8f6119b49ceb8d3273cdb354178cc5)
Reviewed-on: http://git-master/r/712675
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c index 67680c4c..b53d53a3 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.c | |||
@@ -2805,6 +2805,8 @@ int gk20a_mm_fb_flush(struct gk20a *g) | |||
2805 | if (tegra_platform_is_silicon() && retry < 0) { | 2805 | if (tegra_platform_is_silicon() && retry < 0) { |
2806 | gk20a_warn(dev_from_gk20a(g), | 2806 | gk20a_warn(dev_from_gk20a(g), |
2807 | "fb_flush too many retries"); | 2807 | "fb_flush too many retries"); |
2808 | if (g->ops.fb.dump_vpr_wpr_info) | ||
2809 | g->ops.fb.dump_vpr_wpr_info(g); | ||
2808 | ret = -EBUSY; | 2810 | ret = -EBUSY; |
2809 | } | 2811 | } |
2810 | 2812 | ||