drm/msm: Add A5XX hardware fault detection
authorJordan Crouse <jcrouse@codeaurora.org>
Thu, 27 Jul 2017 16:42:36 +0000 (10:42 -0600)
committerRob Clark <robdclark@gmail.com>
Wed, 2 Aug 2017 11:57:02 +0000 (07:57 -0400)
commitac1b5ab411315234c67eb258bfaa7e50561aa5c2
treecd4c78d56a34401c90ef6cc8d7f3866057b3dc9e
parent8d6f08272b6f1742d537640313b256c8c9929813
drm/msm: Add A5XX hardware fault detection

The A5XX GPU has really good hardware fault detection that can
detect a abnormal hardware condition and fire an interrupt in
a matter of milliseconds which is a lot better than waiting for
the hangcheck timer.

Enable the interrupt and log information before kicking off
recovery.

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