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:
@@ -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:
|
||||
|
مرجع در شماره جدید
Block a user