platform: msm_shared: add DSC support
Add DSC (display stream compressed) support. Generate
128 bytes PPS base on DSC parameters defined at panel
file and use PPS to enable/configure panel DSC feature.
Change-Id: I76aef67e6c18139a70b282de80293aa26ed7afe5
diff --git a/target/msm8994/oem_panel.c b/target/msm8994/oem_panel.c
index de71ef9..1470faf 100644
--- a/target/msm8994/oem_panel.c
+++ b/target/msm8994/oem_panel.c
@@ -251,6 +251,8 @@
= JDI_4K_DUALDSI_VIDEO_OFF_COMMAND;
memcpy(phy_db->timing,
jdi_4k_dualdsi_video_timings, TIMING_SIZE);
+
+ pinfo->compression_mode = COMPRESSION_FBC;
memcpy(&panelstruct->fbcinfo, &jdi_4k_dualdsi_video_fbc,
sizeof(struct fb_compression));
break;