disp: msm: dsi: add support for spr enable from panel config

This change parses SPR enable entry from panel device tree and
populates SPR specific information in panel data structure.
Valid entry of SPR pack type is treated as panel requirement
to enable SPR for specified pack type from source end. This change
also populate connector capabilities blob with SPR pack type.

Change-Id: I9d9ab8a990476fba281e12890bf3f7b17a174d79
Signed-off-by: Prabhanjan Kandula <pkandula@codeaurora.org>
此提交包含在:
Prabhanjan Kandula
2019-09-23 19:24:20 -07:00
父節點 89a141df9f
當前提交 45af4566d9
共有 4 個檔案被更改,包括 62 行新增0 行删除

查看文件

@@ -155,6 +155,11 @@ struct drm_panel_esd_config {
u32 groups;
};
struct dsi_panel_spr_info {
bool enable;
enum msm_display_spr_pack_type pack_type;
};
struct dsi_panel {
const char *name;
const char *type;
@@ -203,6 +208,8 @@ struct dsi_panel {
char dce_pps_cmd[DSI_CMD_PPS_SIZE];
enum dsi_dms_mode dms_mode;
struct dsi_panel_spr_info spr_info;
bool sync_broadcast_en;
int panel_test_gpio;