disp: msm: dsi: follow the HPG guidelines for DATABUS_WIDEN
In case of DATABUS_WIDEN, follow the HPG to calculate bitclk, byteclk and pclk. Configure the DST_FORMAT and the clock dividers in DSI PHY and DISP_CC w.r.t. the bpp before compression. Change-Id: I526eab5bc88b8d667b8b1a0d257b2f147998286a Signed-off-by: Srihitha Tangudu <quic_tangudu@quicinc.com> Signed-off-by: Kirill Shpin <quic_kshpin@quicinc.com>
Dieser Commit ist enthalten in:

committet von
Rohith Iyer

Ursprung
f993f4d8e0
Commit
7b4616f157
@@ -1581,7 +1581,7 @@ static int dp_panel_dsc_prepare_basic_params(
|
||||
comp_info->comp_type = MSM_DISPLAY_COMPRESSION_DSC;
|
||||
comp_info->tgt_bpp = DSC_TGT_BPP;
|
||||
comp_info->src_bpp = dp_mode->timing.bpp;
|
||||
comp_info->comp_ratio = dp_mode->timing.bpp / DSC_TGT_BPP;
|
||||
comp_info->comp_ratio = mult_frac(100, dp_mode->timing.bpp, DSC_TGT_BPP);
|
||||
comp_info->enabled = true;
|
||||
|
||||
return 0;
|
||||
@@ -3007,7 +3007,7 @@ static void dp_panel_convert_to_dp_mode(struct dp_panel *dp_panel,
|
||||
comp_info->src_bpp = default_bpp;
|
||||
comp_info->tgt_bpp = default_bpp;
|
||||
comp_info->comp_type = MSM_DISPLAY_COMPRESSION_NONE;
|
||||
comp_info->comp_ratio = 1;
|
||||
comp_info->comp_ratio = MSM_DISPLAY_COMPRESSION_RATIO_NONE;
|
||||
comp_info->enabled = false;
|
||||
|
||||
/* As YUV was not supported now, so set the default format to RGB */
|
||||
@@ -3042,7 +3042,7 @@ static void dp_panel_convert_to_dp_mode(struct dp_panel *dp_panel,
|
||||
}
|
||||
|
||||
rc = sde_dsc_populate_dsc_private_params(&comp_info->dsc_info,
|
||||
dp_mode->timing.h_active);
|
||||
dp_mode->timing.h_active, dp_mode->timing.widebus_en);
|
||||
if (rc) {
|
||||
DP_DEBUG("failed populating other dsc params\n");
|
||||
return;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren