]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit127e73ab235650f98344af7b687029d1be457691
tree4acc378c766742c50fdd75acca25727be2b764bb
parent501ef63ff19c67986dd859199e65768d9d01e7da
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