msm: mdss: Add support for FrameBuffer Compression(FBC)

MDSS supports FBC 1.0 and FBC 2.0. Add MDP and DSI configurations
for FBC.

Change-Id: Ia265a726e6660cc349808862ddbbcd380d9840fd
diff --git a/dev/gcdb/display/gcdb_autopll.c b/dev/gcdb/display/gcdb_autopll.c
index 38ba3b4..e2e497f 100755
--- a/dev/gcdb/display/gcdb_autopll.c
+++ b/dev/gcdb/display/gcdb_autopll.c
@@ -43,7 +43,10 @@
 	uint32_t width = pinfo->xres;
 
 	if (pinfo->mipi.dual_dsi)
-		width = pinfo->xres / 2;
+		width /= 2;
+
+	if (pinfo->fbc.enabled && pinfo->fbc.comp_ratio)
+		width /= pinfo->fbc.comp_ratio;
 
 	h_period = width + pinfo->lcdc.h_back_porch +
 		pinfo->lcdc.h_front_porch + pinfo->lcdc.h_pulse_width +