Memory clock gating is handled at the wrapper based on the scheme described below.
Functional mode clock enable (functional clock gating – for memory):
- DPTX firmware memory (I/D mem) clocks are enabled
when EDP_DPTX_IPCFG[1] FW_MEM_CLK_EN = 1.
- Memory clocks for all DPTX data memories in the normal functional mode are only enabled when the corresponding source (video/audio/pif) is enabled per DPTX_SRC_CFG.
- Clocks for the video stream memories (vif_mem)
are enabled whenever the stream is enabled (EDP_DPTX_SRC_CFG[3-0]
VIF_n_EN).
- Clocks for the packet memories (pkt_mem) are
enabled whenever the packet stream interface is enabled
(EDP_DPTX_SRC_CFG[3-0] VIF_n_EN).
- Similarly clock for the audio buffer (aif_mem) is
enabled whenever the audio stream is enabled (EDP_DPTX_SRC_CFG[16]
AIF_EN).
- Clocks for the DSC memories (DSC_ENC0 and
DSC_ENC1 mem) are enabled based on the ENC0/ENC1 usage (EDP_DPTX_DSC_CFG[1-0]
MODE_SEL). When EDP_DPTX_DSC_CFG[1-0] MODE_SEL is not 0 (that is, at least one
DSC encoder is enabled), the wrapper enables VIF_n_MEM clock based on the DSC
usage
Functional mode clock enable override:
- Clocks for all ECC memories can be forced to turn
on (that is, functional clock gating bypassed) during ECC diagnostic access mode
by setting EDP_ECC_MEM_CFG[0] CLK_EN = 1.