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>
此提交包含在:
@@ -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;
|
||||
|
新增問題並參考
封鎖使用者