summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunyang Chen <runyang.chen@mediatek.corp-partner.google.com>2022-09-22 14:47:56 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-09-26 14:18:18 +0000
commitff7ac271c0ecaf5c2db4dd5fab0d471817e639ea (patch)
tree3eeb343e974a04fa803c4d2ba5f172e632be31a7
parent9122d67a24c512e5c478f90d82ca71d31effaf5c (diff)
soc/mediatek/mt8186: Allow SCP to access H264 encoder
Issue: Camera APP is not functional after CB:67434 applied. Root cause and solution: SCP hardware needs to access H264 encoder registers, so we need to remove the DEVAPC protection of H264 encoder for SCP. BUG=b:247743696 TEST=camera APP is functional. Signed-off-by: Runyang Chen <runyang.chen@mediatek.corp-partner.google.com> Change-Id: I95946346018bff6a8f2dc02b1ff3e24ad079fc90 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67787 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
-rw-r--r--src/soc/mediatek/mt8186/devapc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8186/devapc.c b/src/soc/mediatek/mt8186/devapc.c
index ecde1c2b21..8f28f2c699 100644
--- a/src/soc/mediatek/mt8186/devapc.c
+++ b/src/soc/mediatek/mt8186/devapc.c
@@ -652,7 +652,7 @@ static const struct apc_infra_peri_dom_4 mm_ao_sys0_devices[] = {
DAPC_MM_AO_SYS0_ATTR("smi_larb7",
NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
DAPC_MM_AO_SYS0_ATTR("venc",
- NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
+ NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
DAPC_MM_AO_SYS0_ATTR("jpgenc",
NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
DAPC_MM_AO_SYS0_ATTR("reserved",