@@ -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 */
Unused since "drm/msm: Delete resume_translation()". Signed-off-by: Connor Abbott <cwabbott0@gmail.com> --- include/linux/adreno-smmu-priv.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)