Remove timeout setting of applying cpu boosting 27/297427/2
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 18 Aug 2023 05:01:18 +0000 (14:01 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 18 Aug 2023 05:01:32 +0000 (14:01 +0900)
commit65caafd429b30a76275e6885f47f11bcb0f5933d
tree401bb69e5070e07777d0c751b398963d003a3af7
parent80e1d61c1a4536ce10fe1b679ca9a4e10e538287
Remove timeout setting of applying cpu boosting

Unfortunately, the plugin module of the resource API does not support
timeout feature properly. According to the guide, if the timeout setting
exists, we must not call the resource_clear_cpu_boosting() function.
This patch changes the timeout argument to -1 from the 5000 (milliseconds).
The RESET_ON_FORK flag is also removed.

Change-Id: I390c5ec3dd6f8ae0d5ac87303e1378ba17411f68
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/amd_main.cc
src/lib/common/cpu_boost_controller.cc