disp: msm: sde: add rev checks for holi target
Add required revision checks for holi target. Change-Id: I27daa66d9af10f90a5432b5698bbdb16d7866c2f Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
Цей коміт міститься в:
@@ -4733,6 +4733,21 @@ static int _sde_hardware_pre_caps(struct sde_mdss_cfg *sde_cfg, uint32_t hw_rev)
|
||||
sde_cfg->dither_luma_mode_support = true;
|
||||
sde_cfg->mdss_hw_block_size = 0x158;
|
||||
sde_cfg->has_trusted_vm_support = true;
|
||||
} else if (IS_HOLI_TARGET(hw_rev)) {
|
||||
sde_cfg->has_cwb_support = false;
|
||||
sde_cfg->has_qsync = true;
|
||||
sde_cfg->perf.min_prefill_lines = 24;
|
||||
sde_cfg->vbif_qos_nlvl = 8;
|
||||
sde_cfg->ts_prefill_rev = 2;
|
||||
sde_cfg->ctl_rev = SDE_CTL_CFG_VERSION_1_0_0;
|
||||
sde_cfg->delay_prg_fetch_start = true;
|
||||
sde_cfg->sui_ns_allowed = true;
|
||||
sde_cfg->sui_misr_supported = true;
|
||||
sde_cfg->sui_block_xin_mask = 0xC01;
|
||||
sde_cfg->has_hdr = false;
|
||||
sde_cfg->has_sui_blendstage = true;
|
||||
sde_cfg->vbif_disable_inner_outer_shareable = true;
|
||||
sde_cfg->mdss_hw_block_size = 0x158;
|
||||
} else {
|
||||
SDE_ERROR("unsupported chipset id:%X\n", hw_rev);
|
||||
sde_cfg->perf.min_prefill_lines = 0xffff;
|
||||
|
@@ -43,6 +43,7 @@
|
||||
#define SDE_HW_VER_610 SDE_HW_VER(6, 1, 0) /* sm7250 */
|
||||
#define SDE_HW_VER_630 SDE_HW_VER(6, 3, 0) /* bengal */
|
||||
#define SDE_HW_VER_700 SDE_HW_VER(7, 0, 0) /* lahaina */
|
||||
#define SDE_HW_VER_660 SDE_HW_VER(6, 6, 0) /* holi */
|
||||
|
||||
/* Avoid using below IS_XXX macros outside catalog, use feature bit instead */
|
||||
#define IS_SDE_MAJOR_SAME(rev1, rev2) \
|
||||
@@ -63,6 +64,7 @@
|
||||
#define IS_SAIPAN_TARGET(rev) IS_SDE_MAJOR_MINOR_SAME((rev), SDE_HW_VER_610)
|
||||
#define IS_BENGAL_TARGET(rev) IS_SDE_MAJOR_MINOR_SAME((rev), SDE_HW_VER_630)
|
||||
#define IS_LAHAINA_TARGET(rev) IS_SDE_MAJOR_MINOR_SAME((rev), SDE_HW_VER_700)
|
||||
#define IS_HOLI_TARGET(rev) IS_SDE_MAJOR_MINOR_SAME((rev), SDE_HW_VER_660)
|
||||
|
||||
#define SDE_HW_BLK_NAME_LEN 16
|
||||
|
||||
|
Посилання в новій задачі
Заблокувати користувача