]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/arm-smmu-qcom: Add an adreno-smmu-priv callback to get pagefault info
authorJordan Crouse <jcrouse@codeaurora.org>
Thu, 10 Jun 2021 21:44:10 +0000 (14:44 -0700)
committerRob Clark <robdclark@chromium.org>
Wed, 23 Jun 2021 14:33:55 +0000 (07:33 -0700)
commitab5df7b953d87efddba4f9df83862f7dcb39b8d5
treedb717553046384e6d0dccac6d024f523fbb9c066
parentf8f934c180f629bb927a04fd90d6a16ef1a94073
iommu/arm-smmu-qcom: Add an adreno-smmu-priv callback to get pagefault info

Add a callback in adreno-smmu-priv to read interesting SMMU
registers to provide an opportunity for a richer debug experience
in the GPU driver.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210610214431.539029-3-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
drivers/iommu/arm/arm-smmu/arm-smmu.h
include/linux/adreno-smmu-priv.h