msm_shared: mdp: Update QOS settings for MDSS
MDSS QOS settings were not setup in the LK.
Change-Id: I9e6cf9ec408d3727e2651aefe002d6de2353de9c
diff --git a/platform/msm_shared/include/mdp5.h b/platform/msm_shared/include/mdp5.h
index 682533f..c947e77 100644
--- a/platform/msm_shared/include/mdp5.h
+++ b/platform/msm_shared/include/mdp5.h
@@ -121,6 +121,8 @@
#define RGB1_REQPRIORITY_FIFO_WATERMARK1 REG_MDP(0x2254)
#define RGB1_REQPRIORITY_FIFO_WATERMARK2 REG_MDP(0x2258)
+#define MDP_QOS_REMAPPER_CLASS_0 REG_MDP(0x02E0)
+
#define VBIF_VBIF_DDR_FORCE_CLK_ON REG_MDP(0x24004)
#define VBIF_VBIF_DDR_OUT_MAX_BURST REG_MDP(0x240D8)
#define VBIF_VBIF_DDR_ARB_CTRL REG_MDP(0x240F0)
diff --git a/platform/msm_shared/mdp5.c b/platform/msm_shared/mdp5.c
index 6dd3e1c..6d4835e 100644
--- a/platform/msm_shared/mdp5.c
+++ b/platform/msm_shared/mdp5.c
@@ -227,6 +227,9 @@
}
mdss_smp_setup(pinfo);
+
+ writel(0x0E9, MDP_QOS_REMAPPER_CLASS_0);
+
writel(hsync_ctl, MDP_INTF_1_HSYNC_CTL + mdss_mdp_intf_off);
writel(vsync_period*hsync_period, MDP_INTF_1_VSYNC_PERIOD_F0 +
mdss_mdp_intf_off);