disp: msm: sde: add DE LPF blend support

This change adds Detail Enhancer LPF blend support from MDSS 9.0.
Support is added for qseed block in both SSPP and Destination Scaler.

Change-Id: Ic8e3732059498a156f51fb93c5fd6638bd731c57
Signed-off-by: Narendra Muppalla <quic_nmuppall@quicinc.com>
此提交包含在:
Narendra Muppalla
2021-11-10 15:23:23 -08:00
父節點 e1eb043ded
當前提交 43d8d04e73
共有 8 個檔案被更改,包括 92 行新增8 行删除

查看文件

@@ -760,6 +760,7 @@ static void _sde_hw_sspp_setup_scaler3(struct sde_hw_pipe *ctx,
void *scaler_cfg)
{
u32 idx;
bool de_lpf_en = false;
struct sde_hw_scaler3_cfg *scaler3_cfg = scaler_cfg;
(void)pe;
@@ -767,8 +768,11 @@ static void _sde_hw_sspp_setup_scaler3(struct sde_hw_pipe *ctx,
|| !scaler3_cfg || !ctx || !ctx->cap || !ctx->cap->sblk)
return;
if (test_bit(SDE_SSPP_SCALER_DE_LPF_BLEND, &ctx->cap->features))
de_lpf_en = true;
sde_hw_setup_scaler3(&ctx->hw, scaler3_cfg,
ctx->cap->sblk->scaler_blk.version, idx, sspp->layout.format);
ctx->cap->sblk->scaler_blk.version, idx, sspp->layout.format, de_lpf_en);
}
static void sde_hw_sspp_setup_pre_downscale(struct sde_hw_pipe *ctx,