diff options
author | Chenyan Feng <ella.feng@nxp.com> | 2018-04-24 23:13:42 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 7a68e9a14353b9b46539fd3f3f7cef3ca0af5966 (patch) | |
tree | 6b5f8190e92327febca4c8d57262e809e6252f79 /drivers/mxc/gpu-viv/hal | |
parent | 8b6723bc8a5e2e73107300707c9b691e64d38ad4 (diff) |
MGS-3832 [#imx-921] Fix the cl_convolution of ACL which cause MMU exception
Dump the error info only when there is an error. If the gcdALLOC_ON_FAULT is not enabled, still need to check
the HW status to decide whether to dump the exception info or not
Signed-off-by: Ella Feng <ella.feng@nxp.com>
Reviewed-by: Xianzhong Li <xianzhong.li@nxp.com>
Diffstat (limited to 'drivers/mxc/gpu-viv/hal')
-rw-r--r-- | drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_event.c b/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_event.c index 1246fe04e572..7a3e6edb3aeb 100644 --- a/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_event.c +++ b/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_event.c @@ -2215,8 +2215,8 @@ gckEVENT_Notify( #if gcdALLOC_ON_FAULT status = gckHARDWARE_HandleFault(Event->kernel->hardware); - if (gcmIS_ERROR(status)) #endif + if (gcmIS_ERROR(status)) { /* Dump error is fault can't be handle. */ gckHARDWARE_DumpMMUException(Event->kernel->hardware); |