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>
This commit is contained in:
Runyang Chen 2022-09-22 14:47:56 +08:00 committed by Felix Held
parent 9122d67a24
commit ff7ac271c0
1 changed files with 1 additions and 1 deletions

View File

@ -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",