pass: gov: Add new GOV_HOTPLUG_ONLY definition 40/114340/1
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 13 Feb 2017 02:06:29 +0000 (11:06 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 13 Feb 2017 05:08:59 +0000 (14:08 +0900)
commit38706741121a4c50db65a774789b5ace622a72cc
tree633c7bdd62190e0212691f53b796b371c2be54c8
parent403b427d163722b73fbb12fda1bc6594b69a1463
pass: gov: Add new GOV_HOTPLUG_ONLY definition

This patch adds the new GOV_HOTPLUG_ONLY definition which uses
the hotplug interface for h/w resource such as CPU without
the runtime governors such as GOV_RADIATION, GOV_STEP.

- Detailed description of the PASS governor
: The PASS governor contains both the hotplug and runtime governor
for each resource
------------------------------------------------------------------
Governor name    | Hotplug interface | PASS Runtime governor     |
------------------------------------------------------------------
GOV_DUMMY        | Un-used           | Un-used                   |
GOV_HOTPLUG_ONLY | Used              | Un-used                   |
GOV_RADIATION    | Used              | Used (Radiation governor) |
GOV_STEP         | Used              | Used (Step governor)      |
------------------------------------------------------------------

For example,
- GOV_DUMMY        for TM1/TM2's BUS/GPU resource
- GOV_HOTPLUG_ONLY for TM1's CPU resource
- GOV_RADIATION    for TM2's big.LITTLE CPU resource
- GOV_STEP         for TM2's big.LITTLE CPU resource

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