drm/msm/sde: propagate the cdm block length from the catalog
Add the missing CDM block length parsed by the hardware catalog into the hardware block data structure so that the debug dump region can be properly registered. Change-Id: I395164960484ede34a781785b4ed0e2a60ef0e50 Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
This commit is contained in:
parent
07324253e2
commit
9b8a81b479
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ static struct sde_cdm_cfg *_cdm_offset(enum sde_cdm cdm,
|
||||||
if (cdm == m->cdm[i].id) {
|
if (cdm == m->cdm[i].id) {
|
||||||
b->base_off = addr;
|
b->base_off = addr;
|
||||||
b->blk_off = m->cdm[i].base;
|
b->blk_off = m->cdm[i].base;
|
||||||
|
b->length = m->cdm[i].len;
|
||||||
b->hwversion = m->hwversion;
|
b->hwversion = m->hwversion;
|
||||||
b->log_mask = SDE_DBG_MASK_CDM;
|
b->log_mask = SDE_DBG_MASK_CDM;
|
||||||
return &m->cdm[i];
|
return &m->cdm[i];
|
||||||
|
|
Loading…
Add table
Reference in a new issue