From 4c8baa46841cf35816f19f041a9b33c4f4fc0d3b Mon Sep 17 00:00:00 2001 From: Jayant Shekhar Date: Tue, 7 Feb 2017 12:02:04 +0530 Subject: msm: sde: Ensure mdp splash cleanup before initiating rotation request MDP and ROT use same Smmu context banks. If rotation request comes when MDP is operating on physical address then fail the request such that composition can fall back onto GPU. Allow HW rotation when MDP switches to Virtual address access. Change-Id: I8662855ddd09d9ca2bb074a0bcc11e759a6809df Signed-off-by: Jayant Shekhar --- include/linux/mdss_smmu_ext.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/mdss_smmu_ext.h b/include/linux/mdss_smmu_ext.h index dedcd34d795c..12ad4305f145 100644 --- a/include/linux/mdss_smmu_ext.h +++ b/include/linux/mdss_smmu_ext.h @@ -33,6 +33,7 @@ struct mdss_smmu_intf { int (*wait_for_transition)(int state, int request); void (*reg_lock)(void); void (*reg_unlock)(void); + bool (*handoff_pending)(void); }; typedef void (*msm_smmu_handler_t) (struct mdss_smmu_intf *smmu); -- cgit v1.2.3