disp: msm: dp: add support for 3.75:1 compression
Currently the DP driver always uses a compression ratio of 3, if DSC is enabled. So if the sink supports 30bpp, the compressed output is set to 10bpp. But since the hardware supports compressing this to 8bpp, it would require less link bandwidth than 10bpp compressed output. For compliance testing, the test equipment limits the link bandwidth based on the most efficient compression ratio and for some resolutions there is not enough link bandwidth for 3:1 compression. This change always sets the compression output to 8bpp to minimize the link bandwidth utilization. Change-Id: Ifa6129444c2bab4e9c357ddfe49f76efa5b04be0 Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
Cette révision appartient à :
@@ -1080,7 +1080,7 @@ static void dp_ctrl_mst_calculate_rg(struct dp_ctrl_private *ctrl,
|
||||
u64 target_strm_sym, ts_int_fixp, ts_frac_fixp, y_frac_enum_fixp;
|
||||
|
||||
lclk = drm_dp_bw_code_to_link_rate(ctrl->link->link_params.bw_code);
|
||||
if (panel->pinfo.comp_info.comp_ratio > 1)
|
||||
if (panel->pinfo.comp_info.enabled)
|
||||
bpp = DSC_BPP(panel->pinfo.comp_info.dsc_info.config);
|
||||
|
||||
/* min_slot_cnt */
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur