mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
disp: msm: sde: add vig formats before qseed and csc initializations
Setup vig pipe makes an early return if csc and qseed are not supported. This change moves addition of vig formats before intializing qseed and csc. Change-Id: I2eb651f7bbd81757a9de23501fda51a510d0e673 Signed-off-by: santosh <santoshkumar@codeaurora.org>
This commit is contained in:
parent
19253d6e19
commit
fb72c8faa8
1 changed files with 3 additions and 3 deletions
|
|
@ -1434,6 +1434,9 @@ static int _sde_sspp_setup_vigs(struct device_node *np,
|
|||
set_bit(SDE_PERF_SSPP_QOS_8LVL, &sspp->perf_features);
|
||||
vig_count++;
|
||||
|
||||
sblk->format_list = sde_cfg->vig_formats;
|
||||
sblk->virt_format_list = sde_cfg->virt_vig_formats;
|
||||
|
||||
if ((sde_cfg->qseed_type == SDE_SSPP_SCALER_QSEED2) ||
|
||||
(sde_cfg->qseed_type == SDE_SSPP_SCALER_QSEED3) ||
|
||||
(sde_cfg->qseed_type == SDE_SSPP_SCALER_QSEED3LITE)) {
|
||||
|
|
@ -1449,9 +1452,6 @@ static int _sde_sspp_setup_vigs(struct device_node *np,
|
|||
|
||||
_sde_sspp_setup_vigs_pp(props, sde_cfg, sspp);
|
||||
|
||||
sblk->format_list = sde_cfg->vig_formats;
|
||||
sblk->virt_format_list = sde_cfg->virt_vig_formats;
|
||||
|
||||
if (sde_cfg->true_inline_rot_rev > 0) {
|
||||
set_bit(SDE_SSPP_TRUE_INLINE_ROT, &sspp->features);
|
||||
sblk->in_rot_format_list = sde_cfg->inline_rot_formats;
|
||||
|
|
|
|||
Loading…
Reference in a new issue