[PATCH v6 7/7] iommu/smmu-arm-qcom: Delete resume_translation()
Connor Abbott
cwabbott0 at gmail.com
Thu May 15 19:58:49 UTC 2025
Unused since "drm/msm: Delete resume_translation()".
Signed-off-by: Connor Abbott <cwabbott0 at gmail.com>
---
include/linux/adreno-smmu-priv.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/include/linux/adreno-smmu-priv.h b/include/linux/adreno-smmu-priv.h
index 8ed94fb39e6ec6a3d8e6fabe61ff142682f1764c..80bb36e09f07901fd73c522ec077b0b3211adc50 100644
--- a/include/linux/adreno-smmu-priv.h
+++ b/include/linux/adreno-smmu-priv.h
@@ -46,9 +46,8 @@ struct adreno_smmu_fault_info {
* @get_fault_info: Called by the GPU fault handler to get information about
* the fault
* @set_stall: Configure whether stall on fault (CFCFG) is enabled. If
- * stalling on fault is enabled, the GPU driver must call
- * resume_translation()
- * @resume_translation: Resume translation after a fault
+ * stalling on fault is enabled, the GPU driver should return
+ * -EAGAIN from the fault handler if retrying is required.
*
*
* The GPU driver (drm/msm) and adreno-smmu work together for controlling
@@ -66,7 +65,6 @@ struct adreno_smmu_priv {
int (*set_ttbr0_cfg)(const void *cookie, const struct io_pgtable_cfg *cfg);
void (*get_fault_info)(const void *cookie, struct adreno_smmu_fault_info *info);
void (*set_stall)(const void *cookie, bool enabled);
- void (*resume_translation)(const void *cookie, bool terminate);
};
#endif /* __ADRENO_SMMU_PRIV_H */
--
2.47.1
More information about the Freedreno
mailing list