瀏覽代碼

Merge "disp: msm: sde: add demura caps to waipio target"

qctecmdr 4 年之前
父節點
當前提交
a6a9b9fb52
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      msm/sde/sde_hw_catalog.c

+ 5 - 0
msm/sde/sde_hw_catalog.c

@@ -5076,6 +5076,11 @@ static int _sde_hardware_pre_caps(struct sde_mdss_cfg *sde_cfg, uint32_t hw_rev)
 		sde_cfg->has_avr_step = true;
 		sde_cfg->has_trusted_vm_support = true;
 		sde_cfg->has_ubwc_stats = true;
+		sde_cfg->has_demura = true;
+		sde_cfg->demura_supported[SSPP_DMA1][0] = 0;
+		sde_cfg->demura_supported[SSPP_DMA1][1] = 1;
+		sde_cfg->demura_supported[SSPP_DMA3][0] = 0;
+		sde_cfg->demura_supported[SSPP_DMA3][1] = 1;
 	} else if (IS_YUPIK_TARGET(hw_rev)) {
 		sde_cfg->has_cwb_support = true;
 		sde_cfg->has_qsync = true;