]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Improve the a6xx page fault handler
authorJordan Crouse <jcrouse@codeaurora.org>
Thu, 10 Jun 2021 21:44:11 +0000 (14:44 -0700)
committerRob Clark <robdclark@chromium.org>
Wed, 23 Jun 2021 14:33:55 +0000 (07:33 -0700)
commit2a574cc05d380665648c067689ce300168169a68
treef915bf9d873cf5a09a9a0ba307ea28ff559d87a7
parentab5df7b953d87efddba4f9df83862f7dcb39b8d5
drm/msm: Improve the a6xx page fault handler

Use the new adreno-smmu-priv fault info function to get more SMMU
debug registers and print the current TTBR0 to debug per-instance
pagetables and figure out which GPU block generated the request.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210610214431.539029-4-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
drivers/gpu/drm/msm/msm_iommu.c
drivers/gpu/drm/msm/msm_mmu.h