disp: msm: sde: program ob_max_addr based on dsc native422 support
Current code does output buffer max_addr calculation based on dsc id. Made changes to calculate ob_max_addr based on dsc native422 support. Change-Id: I01922750f1e9d6cb45615acc1c473891fc648e5d Signed-off-by: Andhavarapu Karthik <kartkart@codeaurora.org>
This commit is contained in:

committato da
Nilaan Gunabalachandran

parent
59de31ea19
commit
59c3e9ef10
@@ -63,12 +63,12 @@ static int _dsc_calc_ob_max_addr(struct sde_hw_dsc *hw_dsc, int num_ss)
|
||||
|
||||
idx = hw_dsc->idx;
|
||||
|
||||
if ((idx == DSC_0) || (idx == DSC_1)) {
|
||||
if (!(hw_dsc->caps->features & BIT(SDE_DSC_NATIVE_422_EN))) {
|
||||
if (num_ss == 1)
|
||||
return 2399;
|
||||
else if (num_ss == 2)
|
||||
return 1199;
|
||||
} else if ((idx == DSC_2) || (idx == DSC_3)) {
|
||||
} else {
|
||||
if (num_ss == 1)
|
||||
return 1199;
|
||||
else if (num_ss == 2)
|
||||
|
Fai riferimento in un nuovo problema
Block a user