소스 검색

Merge "disp: msm: update DCE_DATA_COMPRESS bit in non-dsc case"

qctecmdr 4 년 전
부모
커밋
d6b76d05e0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      msm/sde/sde_hw_intf.c

+ 2 - 0
msm/sde/sde_hw_intf.c

@@ -208,6 +208,8 @@ static inline void _check_and_set_comp_bit(struct sde_hw_intf *ctx,
 			(IS_SDE_MAJOR_SAME(ctx->mdss->hwversion,
 				SDE_HW_VER_600) && dsc_4hs_merge))
 		(*intf_cfg2) |= BIT(12);
+	else if (!compression_en)
+		(*intf_cfg2) &= ~BIT(12);
 }
 
 static void sde_hw_intf_reset_counter(struct sde_hw_intf *ctx)