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 <yuchaom@codeaurora.org>
[cohens@codeaurora.org: resolved trivial merge conflict]
Signed-off-by: Steve Cohen <cohens@codeaurora.org>
This commit is contained in:
Yuchao Ma
2018-12-19 18:43:38 +08:00
committed by Steve Cohen
parent e90235e1b3
commit 734a80305a

View File

@@ -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, 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); 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; return c;
blk_init_error: blk_init_error: