summaryrefslogtreecommitdiff
path: root/include/linux/mdss_smmu_ext.h
diff options
context:
space:
mode:
authorRaviteja Tamatam <travitej@codeaurora.org>2017-01-30 21:01:09 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-06 21:31:49 -0800
commitf325453a4d4572e832b2f535e94e94c7e307107e (patch)
tree3315d21129a3b6fbedf91546d441d1f01b813d28 /include/linux/mdss_smmu_ext.h
parente8b77a585bea4073792b43a349c721c1e8ea77cc (diff)
msm: mdss: update vbif Qos remapper settings for Rotator
Rotator and MDP share same Vbif. Made changes to apply vbif remapper settings for respective rotator xin id. Also, due to common vbif, register mutex lock is now shared. Change-Id: Ifdfb36ce5c8f26196ab4f8f56487cf135bbd12ce Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
Diffstat (limited to 'include/linux/mdss_smmu_ext.h')
-rw-r--r--include/linux/mdss_smmu_ext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mdss_smmu_ext.h b/include/linux/mdss_smmu_ext.h
index 414ab055595a..dedcd34d795c 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,8 @@ 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);
};
typedef void (*msm_smmu_handler_t) (struct mdss_smmu_intf *smmu);