drm/msm/a5xx: add devcoredump support to the fault handler
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 14 Feb 2023 12:35:04 +0000 (15:35 +0300)
committerRob Clark <robdclark@chromium.org>
Thu, 30 Mar 2023 16:42:05 +0000 (09:42 -0700)
commit780668dfefa009a977af386c00f26b686e5a8688
treebda9976b002d3f61db58bd524a9c6e6cdec0be2c
parentf62ad0f6f4dd03b6fa45b5afb46084511c7d9920
drm/msm/a5xx: add devcoredump support to the fault handler

Use adreno_fault_handler() to implement a5xx_fault_handler(). This
enables devcoredump support on a5xx platforms, allowing one to capture
the crashed GPU state at the time of context fault.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/522724/
Link: https://lore.kernel.org/r/20230214123504.3729522-4-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a5xx_gpu.c