| #
1ba50c33 |
| 17-Apr-2025 |
Chungying Lu <chungying.lu@mediatek.corp-partner.google.com> |
feat(mt8196): show ERROR log if need
There are two purposes for hardware semaphores. The first one is for the SMMU to check the NPU power status, and the second one is for NPU power control.
In the
feat(mt8196): show ERROR log if need
There are two purposes for hardware semaphores. The first one is for the SMMU to check the NPU power status, and the second one is for NPU power control.
In the case of the SMMU, if the hardware semaphore cannot be locked immediately, 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: I1a0b6c16e297c7564518883863ebc67e38b6561a Signed-off-by: Chungying Lu <chungying.lu@mediatek.com>
show more ...
|
| #
86dd08d8 |
| 30-Dec-2024 |
Yong Wu <yong.wu@mediatek.com> |
feat(mt8196): add SMMU driver for PM
Add MediaTek SMMU power driver. This driver tracks the reference counter for power domain access on SMMU hardware, including Multimedia SMMU and APU SMMU. The PM
feat(mt8196): add SMMU driver for PM
Add MediaTek SMMU power driver. This driver tracks the reference counter for power domain access on SMMU hardware, including Multimedia SMMU and APU SMMU. The PM get/put commands may come from linux(EL1) and hypervisor(EL2).
Change-Id: I60f83c4e3d87059b0549b2ed8c68367be3bfbbc5 Signed-off-by: Yong Wu <yong.wu@mediatek.com>
show more ...
|