target: msm8994: provide hdmi vic in cmdline

Add HDMI VIC (Video Identification Code) to
cmdline so that kernel can know HDMI resolution
configured in the bootloader, and can configure
MDP accordingly.

The mdss cmdline is of below format:
mdss_mdp.panel=<lk_cfg>:<panel name>:<vic code>
e.g.
mdss_mdp.panel=1:hdmi:16
where 16 represents 1080p resolution.

Change-Id: I29b35a1700c417fff46c47c485e4c38347d1560c
diff --git a/target/msm8994/target_display.c b/target/msm8994/target_display.c
index 851fc9a..2425f14 100644
--- a/target/msm8994/target_display.c
+++ b/target/msm8994/target_display.c
@@ -471,6 +471,7 @@
 {
 	int prefix_string_len = strlen(DISPLAY_CMDLINE_PREFIX);
 	bool ret = true;
+	char vic_buf[HDMI_VIC_LEN] = "0";
 
 	panel_name += strspn(panel_name, " ");
 
@@ -486,6 +487,9 @@
 		strlcat(pbuf, LK_OVERRIDE_PANEL, buf_size);
 		buf_size -= LK_OVERRIDE_PANEL_LEN;
 		strlcat(pbuf, HDMI_CONTROLLER_STRING, buf_size);
+		buf_size -= strlen(HDMI_CONTROLLER_STRING);
+		mdss_hdmi_get_vic(vic_buf);
+		strlcat(pbuf, vic_buf, buf_size);
 	} else {
 		ret = gcdb_display_cmdline_arg(panel_name, pbuf, buf_size);
 	}