drm/msm: Pass interrupt status to a5xx_rbbm_err_irq()
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 7 Mar 2017 16:50:29 +0000 (09:50 -0700)
committerRob Clark <robdclark@gmail.com>
Sat, 8 Apr 2017 10:59:32 +0000 (06:59 -0400)
commit7352fb5a5b6891c51429b465d16aa16e8391bfc0
tree4acc378c766742c50fdd75acca25727be2b764bb
parent36849cc361428b0b60c9065f854fe22bd55ce3ab
drm/msm: Pass interrupt status to a5xx_rbbm_err_irq()

The interrupt status was being cleared before processing the handlers.
a5xx_rbbm_err_irq() was checking the interrupt status again, which would
likely turn out bad because the interrupt status would be 0 (or at least
different). Pass the original status to the function instead.

Also, skip clearing RBBM_AHB_ERROR from the interrupt status. The interrupt
will keep firing until the error source is cleared.  Skip the clear to
avoid a storm until the error is cleared in a5xx_rbbm_err_irq().

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/a5xx_gpu.c