pass: Add the support for new struct pass_resource_nonstandard type 77/136377/4
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 26 Jun 2017 08:56:28 +0000 (17:56 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 4 Jul 2017 08:26:59 +0000 (17:26 +0900)
commit9eabff35831a9c7a6454256f038a29157aaea07e
treef8f9be59cab990f388dda69b3c37d04c701eae5e
parent2f98fb8acf69ff73ccaa11cc4e4e79a2bb30586d
pass: Add the support for new struct pass_resource_nonstandard type

This patch support the new 'struct pass_resource_nonstandard'
in order to handle the nonstandard devices except for cpu/bus/gpu.
This h/w resource has the following functions:
- int set_pmqos_data(char *res_name, void *data)

And this patch adds the pass_set_pmqos_data() helper function
in order to bypass the PMQoS's data (scearnio name + 'Lock' or 'Unlock')
from platform to HAL layer. This function calls the .set_pmqos_data()
in the HAL pacakge.

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