disp: msm: dp: add support for continuous PPS command
Add support to send PPS command with every frame for DP. This is needed to satisfy the requirement of certain bridge chips which need the PPS to be sent every frame. Change-Id: I8711dff41e60d8b1e1c515a5d34a370a2409ce14 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org> Signed-off-by: Sudarsan Ramesh <sudarame@codeaurora.org>
This commit is contained in:
@@ -2202,7 +2202,7 @@ static void dp_panel_config_dsc(struct dp_panel *dp_panel, bool enable)
|
||||
dsc->be_in_lane = _dp_panel_calc_be_in_lane(dp_panel);
|
||||
dsc->dsc_en = true;
|
||||
dsc->dto_en = true;
|
||||
|
||||
dsc->continuous_pps = dp_panel->dsc_continuous_pps;
|
||||
dp_panel_get_dto_params(comp_info->comp_ratio, &dsc->dto_n,
|
||||
&dsc->dto_d, pinfo->bpp);
|
||||
} else {
|
||||
@@ -2210,6 +2210,7 @@ static void dp_panel_config_dsc(struct dp_panel *dp_panel, bool enable)
|
||||
dsc->dto_en = false;
|
||||
dsc->dto_n = 0;
|
||||
dsc->dto_d = 0;
|
||||
dsc->continuous_pps = false;
|
||||
}
|
||||
|
||||
catalog->stream_id = dp_panel->stream_id;
|
||||
@@ -3007,6 +3008,7 @@ struct dp_panel *dp_panel_get(struct dp_panel_in *in)
|
||||
|
||||
dp_panel->dsc_feature_enable = panel->parser->dsc_feature_enable;
|
||||
dp_panel->fec_feature_enable = panel->parser->fec_feature_enable;
|
||||
dp_panel->dsc_continuous_pps = panel->parser->dsc_continuous_pps;
|
||||
|
||||
if (in->base_panel) {
|
||||
memcpy(dp_panel->dpcd, in->base_panel->dpcd,
|
||||
|
Reference in New Issue
Block a user