소스 검색

drm/msm/sde: Add global dither memory dump range

The global dither memory range can not be accessed from outside.
So the patch fixs this issue through add global dither memory range
to valid range.

Change-Id: I3ab5b87ff1e62f7b19b48a137922d4e98a64040c
Signed-off-by: Yuchao Ma <[email protected]>
[[email protected]: resolved trivial merge conflict]
Signed-off-by: Steve Cohen <[email protected]>
Yuchao Ma 6 년 전
부모
커밋
734a80305a
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      msm/sde/sde_hw_pingpong.c

+ 9 - 0
msm/sde/sde_hw_pingpong.c

@@ -538,6 +538,15 @@ struct sde_hw_pingpong *sde_hw_pingpong_init(enum sde_pingpong idx,
 	sde_dbg_reg_register_dump_range(SDE_DBG_NAME, cfg->name, c->hw.blk_off,
 			c->hw.blk_off + c->hw.length, c->hw.xin_id);
 
+	if (cfg->sblk->dither.base && cfg->sblk->dither.len) {
+		sde_dbg_reg_register_dump_range(SDE_DBG_NAME,
+			cfg->sblk->dither.name,
+			c->hw.blk_off + cfg->sblk->dither.base,
+			c->hw.blk_off + cfg->sblk->dither.base +
+			cfg->sblk->dither.len,
+			c->hw.xin_id);
+	}
+
 	return c;
 
 blk_init_error: