summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-02-15 17:01:03 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-15 17:01:02 -0800
commitb24937b98d0d380ae2600ae7607c02ad4f525615 (patch)
tree9ec4e868da5d4bb18b3879ffa28dddad21aaad99 /include
parentfcc0fdda2cf35828e5454e0e5e47a2cf02fa59b3 (diff)
parent4c8baa46841cf35816f19f041a9b33c4f4fc0d3b (diff)
Merge "msm: sde: Ensure mdp splash cleanup before initiating rotation request"
Diffstat (limited to 'include')
-rw-r--r--include/linux/mdss_smmu_ext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mdss_smmu_ext.h b/include/linux/mdss_smmu_ext.h
index 414ab055595a..12ad4305f145 100644
--- a/include/linux/mdss_smmu_ext.h
+++ b/include/linux/mdss_smmu_ext.h
@@ -22,6 +22,7 @@
* @iommu_ctrl: iommu ctrl function for enable/disable attach.
* @secure_session_ctrl: ctrl function for enable/disable session.
* @wait_for_transition:function to wait till secure transtion is complete.
+ * @reg_lock /reg_unlock: Lock to access shared registers.
*/
struct mdss_smmu_intf {
struct device *dev;
@@ -30,6 +31,9 @@ struct mdss_smmu_intf {
int (*iommu_ctrl)(int);
int (*secure_session_ctrl)(int);
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);