Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49955920 authored by Lloyd Atkinson's avatar Lloyd Atkinson
Browse files

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: default avatarLloyd Atkinson <latkinso@codeaurora.org>
parent 4346fc52
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ static struct sde_cdm_cfg *_cdm_offset(enum sde_cdm cdm,
		if (cdm == m->cdm[i].id) {
			b->base_off = addr;
			b->blk_off = m->cdm[i].base;
			b->length = m->cdm[i].len;
			b->hwversion = m->hwversion;
			b->log_mask = SDE_DBG_MASK_CDM;
			return &m->cdm[i];