feat(mt8196): show ERROR log if needThere are two purposes for hardware semaphores. The first one is forthe SMMU to check the NPU power status, and the second one is for NPUpower control.In the
feat(mt8196): show ERROR log if needThere are two purposes for hardware semaphores. The first one is forthe SMMU to check the NPU power status, and the second one is for NPUpower control.In the case of the SMMU, if the hardware semaphore cannot be lockedimmediately, it means the NPU is powered off, and simply returning-EBUSY is sufficient.Hence, there is no need to show any ERROR message for the SMMU case.(retry_times == HW_SEM_NO_WAIT)Change-Id: I1a0b6c16e297c7564518883863ebc67e38b6561aSigned-off-by: Chungying Lu <chungying.lu@mediatek.com>
show more ...
feat(mt8196): add SMMU driver for PMAdd MediaTek SMMU power driver. This driver tracks the referencecounter for power domain access on SMMU hardware, includingMultimedia SMMU and APU SMMU. The PM
feat(mt8196): add SMMU driver for PMAdd MediaTek SMMU power driver. This driver tracks the referencecounter for power domain access on SMMU hardware, includingMultimedia SMMU and APU SMMU. The PM get/put commands may come fromlinux(EL1) and hypervisor(EL2).Change-Id: I60f83c4e3d87059b0549b2ed8c68367be3bfbbc5Signed-off-by: Yong Wu <yong.wu@mediatek.com>