summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2018-03-27 14:52:27 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-29 16:53:59 -0400
commitaa7ee8dac0cb29ee3244c7eef77eac8e7fc34dba (patch)
tree01dcb1f09ba1bd3f52a95b6a28a4a37823a334fc /drivers/gpu/nvgpu/gp106
parentf81d83690f9d08be0daf8a488331fb04d9d23c46 (diff)
gpu: nvgpu: enhance pbus error reporting
-Dump timeout save0 and save1 even if they could be unreliable when fecs_tgt in set in save0 . This is good to have for debug purposes. -Add priv_ring hal for decode_error_code -Decode fecs error code for supported error types Bug 1998067 Change-Id: I60cb6902d099df4a7df45fa624e44d9e0d46360f Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1683014 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index dbea8033..bfd1e99a 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -49,6 +49,7 @@
49#include "gp10b/fb_gp10b.h" 49#include "gp10b/fb_gp10b.h"
50#include "gp10b/pmu_gp10b.h" 50#include "gp10b/pmu_gp10b.h"
51#include "gp10b/gr_gp10b.h" 51#include "gp10b/gr_gp10b.h"
52#include "gp10b/priv_ring_gp10b.h"
52 53
53#include "gp106/fifo_gp106.h" 54#include "gp106/fifo_gp106.h"
54#include "gp106/regops_gp106.h" 55#include "gp106/regops_gp106.h"
@@ -729,6 +730,7 @@ static const struct gpu_ops gp106_ops = {
729 }, 730 },
730 .priv_ring = { 731 .priv_ring = {
731 .isr = gp10b_priv_ring_isr, 732 .isr = gp10b_priv_ring_isr,
733 .decode_error_code = gp10b_priv_ring_decode_error_code,
732 }, 734 },
733 .fuse = { 735 .fuse = {
734 .check_priv_security = gp106_fuse_check_priv_security, 736 .check_priv_security = gp106_fuse_check_priv_security,