pass: Add new PASS_GOV_BASIC type and adjust the unique number of governor 83/116583/2
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 17 Feb 2017 06:25:43 +0000 (15:25 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 27 Feb 2017 06:05:05 +0000 (15:05 +0900)
commit1dc51132943017adb9726ffa0de6b440b729b490
tree101a76433e0d5d785994fd80842f06206e5542d6
parent3217834ce2456b70c8492c52ec29c877b2b06c85
pass: Add new PASS_GOV_BASIC type and adjust the unique number of governor

This patch adds new PASS_GOV_BASIC type which uses the 'HAL interface'
and 'Resource controller'. For example, the bus/gpu resources use
this governor type in order to control the min/max frequency
when pass recevies the pmqos debus message with scenario name.

* Detailed description according to each governor type:
---------------------------------------------------------------------------
| Governor name    | HAL       | Resource   | Hotplug   | Runtime         |
|                  | interface | controller | interface | governor        |
 --------------------------------------------------------------------------
| GOV_DUMMY        | Used      | Un-used    | Un-used   | Un-used         |
| GOV_BASIC        | Used      | Used       | Un-used   | Un-used         |
| GOV_HOTPLUG_ONLY | Used      | Used       | Used      | Un-used         |
| GOV_RADIATION    | Used      | Used       | Used      | Used (Radiation)|
| GOV_STEP         | Used      | Used       | Used      | Used (Step)     |
---------------------------------------------------------------------------

* Detailed description according to PASS's feature:
- HAL interface      : Call the HAL implementation such as pass-hal-(board).rpm
- Resource controller: Control the h/w resource such as CPU/BUS/GPU resource.
- Hotplug interface  : Turn on/off the CPU h/w resource.
- Runtime governor   : Monitor the system status and then decide the proper
                       level. After deciding the level, it control the h/w
       resource by using both 'Resource controller' and
       'Hotplug interface'.

Change-Id: I3b7d7a8f5142baa409cbbfe221afad8decfb2149
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-gov.c
src/pass/pass.h