mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge "disp: msm: dp: use VESA recommended default dsc slice height"
This commit is contained in:
commit
83d31bb3f7
1 changed files with 3 additions and 1 deletions
|
|
@ -1422,7 +1422,9 @@ static int dp_panel_dsc_prepare_basic_params(
|
|||
comp_info->dsc_info.config.pic_height = dp_mode->timing.v_active;
|
||||
comp_info->dsc_info.config.slice_width = slice_width;
|
||||
|
||||
if (comp_info->dsc_info.config.pic_height % 16 == 0)
|
||||
if (comp_info->dsc_info.config.pic_height % 108 == 0)
|
||||
comp_info->dsc_info.config.slice_height = 108;
|
||||
else if (comp_info->dsc_info.config.pic_height % 16 == 0)
|
||||
comp_info->dsc_info.config.slice_height = 16;
|
||||
else if (comp_info->dsc_info.config.pic_height % 12 == 0)
|
||||
comp_info->dsc_info.config.slice_height = 12;
|
||||
|
|
|
|||
Loading…
Reference in a new issue