disp: msm: sde: move all hw version checks in to the catalog
Remove the version checks used to populate some mixer and VBIF ops, and check when constant color should be disabled in SSPP. These are replaced with feature bits set by the catalog. Change-Id: I2f8ffe6ebfe3e61c44588589f55ede7cba74e841 Signed-off-by: Steve Cohen <cohens@codeaurora.org>
Dieser Commit ist enthalten in:
@@ -110,8 +110,9 @@ static void sde_hw_lm_setup_border_color(struct sde_hw_mixer *ctx,
|
||||
}
|
||||
}
|
||||
|
||||
static void sde_hw_lm_setup_blend_config_sdm845(struct sde_hw_mixer *ctx,
|
||||
u32 stage, u32 fg_alpha, u32 bg_alpha, u32 blend_op)
|
||||
static void sde_hw_lm_setup_blend_config_combined_alpha(
|
||||
struct sde_hw_mixer *ctx, u32 stage,
|
||||
u32 fg_alpha, u32 bg_alpha, u32 blend_op)
|
||||
{
|
||||
struct sde_hw_blk_reg_map *c = &ctx->hw;
|
||||
int stage_off;
|
||||
@@ -280,16 +281,9 @@ static void _setup_mixer_ops(struct sde_mdss_cfg *m,
|
||||
unsigned long features)
|
||||
{
|
||||
ops->setup_mixer_out = sde_hw_lm_setup_out;
|
||||
if (IS_SDM845_TARGET(m->hwversion) || IS_SDM670_TARGET(m->hwversion) ||
|
||||
IS_SM8150_TARGET(m->hwversion) ||
|
||||
IS_SDMSHRIKE_TARGET(m->hwversion) ||
|
||||
IS_SM6150_TARGET(m->hwversion) ||
|
||||
IS_SDMMAGPIE_TARGET(m->hwversion) ||
|
||||
IS_KONA_TARGET(m->hwversion) ||
|
||||
IS_SAIPAN_TARGET(m->hwversion) ||
|
||||
IS_SDMTRINKET_TARGET(m->hwversion) ||
|
||||
IS_BENGAL_TARGET(m->hwversion))
|
||||
ops->setup_blend_config = sde_hw_lm_setup_blend_config_sdm845;
|
||||
if (test_bit(SDE_MIXER_COMBINED_ALPHA, &features))
|
||||
ops->setup_blend_config =
|
||||
sde_hw_lm_setup_blend_config_combined_alpha;
|
||||
else
|
||||
ops->setup_blend_config = sde_hw_lm_setup_blend_config;
|
||||
ops->setup_alpha_out = sde_hw_lm_setup_color3;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren