disp: msm: dp: remove usage of compression ratio enum from DP driver
As overall display driver is moving away from hard-coded compression ratios, prepare the DP driver for the same by removing the usage of the compression ratio enum. Change-Id: I298db7d20baed8afec9f96dff8c7e950702bfec9 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
64ee2c4d72
commit
27844b7b60
@@ -1002,7 +1002,7 @@ static void dp_ctrl_mst_calculate_rg(struct dp_ctrl_private *ctrl,
|
||||
u32 x_int = 0, y_frac_enum = 0;
|
||||
u64 target_strm_sym, ts_int_fixp, ts_frac_fixp, y_frac_enum_fixp;
|
||||
|
||||
if (panel->pinfo.comp_info.comp_ratio)
|
||||
if (panel->pinfo.comp_info.comp_ratio > 1)
|
||||
bpp = DSC_BPP(panel->pinfo.comp_info.dsc_info.config);
|
||||
|
||||
/* min_slot_cnt */
|
||||
|
Reference in New Issue
Block a user