Searched hist:"1 ba50c33fcdf10d2132d6d96a5238c378b57de2f" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_ARM-atf/plat/mediatek/drivers/smmu/ |
| H A D | smmu.c | 1ba50c33fcdf10d2132d6d96a5238c378b57de2f Thu Apr 17 11:11:19 UTC 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 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>
|
| /rk3399_ARM-atf/plat/mediatek/drivers/apusys/mt8196/ |
| H A D | apusys_rv_pwr_ctrl.c | 1ba50c33fcdf10d2132d6d96a5238c378b57de2f Thu Apr 17 11:11:19 UTC 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 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>
|
| H A D | apusys_rv_pwr_ctrl.h | 1ba50c33fcdf10d2132d6d96a5238c378b57de2f Thu Apr 17 11:11:19 UTC 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 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>
|