power: Modify camera encode/preview hint
Change modifies Bus DCVS v2 params and CPU Hispeed Frequency param for encode and preview. Change-Id: I20dc1b974feb93c59c63c9256eae1c61bfe41fff
This commit is contained in:
parent
27c70759f7
commit
866915f9fd
|
@ -81,24 +81,19 @@ static int process_cam_preview_hint(void *metadata)
|
||||||
/* sched and cpufreq params
|
/* sched and cpufreq params
|
||||||
* above_hispeed_delay for LVT - 40ms
|
* above_hispeed_delay for LVT - 40ms
|
||||||
* go hispeed load for LVT - 95
|
* go hispeed load for LVT - 95
|
||||||
* hispeed freq for LVT - 729 MHz
|
* hispeed freq for LVT - 556 MHz
|
||||||
* target load for LVT - 90
|
* target load for LVT - 90
|
||||||
* above hispeed delay for sLVT - 40ms
|
* above hispeed delay for sLVT - 40ms
|
||||||
* go hispeed load for sLVT - 95
|
* go hispeed load for sLVT - 95
|
||||||
* hispeed freq for sLVT - 729 MHz
|
* hispeed freq for sLVT - 556 MHz
|
||||||
* target load for sLVT - 90
|
* target load for sLVT - 90
|
||||||
* bus DCVS set to V1 config:
|
* bus DCVS set to V2 config:
|
||||||
* sample ms - 50
|
* low power ceil mpbs - 2500
|
||||||
* io percent - 16
|
* low power io percent - 50
|
||||||
* hist memory - 0
|
|
||||||
* hyst length - 0
|
|
||||||
* low power ceil mpbs - 0
|
|
||||||
* guard band mbps - 100
|
|
||||||
* up scale - 0
|
|
||||||
*/
|
*/
|
||||||
int resource_values[] = {0x41400000, 0x4, 0x41410000, 0x5F, 0x41414000, 0x2D9,
|
int resource_values[] = {0x41400000, 0x4, 0x41410000, 0x5F, 0x41414000, 0x22C,
|
||||||
0x41420000, 0x5A, 0x41400100, 0x4, 0x41410100, 0x5F, 0x41414100, 0x2D9,
|
0x41420000, 0x5A, 0x41400100, 0x4, 0x41410100, 0x5F, 0x41414100, 0x22C,
|
||||||
0x41420100, 0x5A, 0x4180C000, 0x0};
|
0x41420100, 0x5A, 0x41810000, 0x9C4, 0x41814000, 0x32};
|
||||||
|
|
||||||
perform_hint_action(cam_preview_metadata.hint_id,
|
perform_hint_action(cam_preview_metadata.hint_id,
|
||||||
resource_values, sizeof(resource_values)/sizeof(resource_values[0]));
|
resource_values, sizeof(resource_values)/sizeof(resource_values[0]));
|
||||||
|
@ -148,24 +143,19 @@ static int process_video_encode_hint(void *metadata)
|
||||||
/* sched and cpufreq params
|
/* sched and cpufreq params
|
||||||
* above_hispeed_delay for LVT - 40ms
|
* above_hispeed_delay for LVT - 40ms
|
||||||
* go hispeed load for LVT - 95
|
* go hispeed load for LVT - 95
|
||||||
* hispeed freq for LVT - 729 MHz
|
* hispeed freq for LVT - 556 MHz
|
||||||
* target load for LVT - 90
|
* target load for LVT - 90
|
||||||
* above hispeed delay for sLVT - 40ms
|
* above hispeed delay for sLVT - 40ms
|
||||||
* go hispeed load for sLVT - 95
|
* go hispeed load for sLVT - 95
|
||||||
* hispeed freq for sLVT - 729 MHz
|
* hispeed freq for sLVT - 556 MHz
|
||||||
* target load for sLVT - 90
|
* target load for sLVT - 90
|
||||||
* bus DCVS set to V1 config:
|
* bus DCVS set to V2 config:
|
||||||
* sample ms - 50
|
* low power ceil mpbs - 2500
|
||||||
* io percent - 16
|
* low power io percent - 50
|
||||||
* hist memory - 0
|
|
||||||
* hyst length - 0
|
|
||||||
* low power ceil mpbs - 0
|
|
||||||
* guard band mbps - 100
|
|
||||||
* up scale - 0
|
|
||||||
*/
|
*/
|
||||||
int resource_values[] = {0x41400000, 0x4, 0x41410000, 0x5F, 0x41414000, 0x2D9,
|
int resource_values[] = {0x41400000, 0x4, 0x41410000, 0x5F, 0x41414000, 0x22C,
|
||||||
0x41420000, 0x5A, 0x41400100, 0x4, 0x41410100, 0x5F, 0x41414100, 0x2D9,
|
0x41420000, 0x5A, 0x41400100, 0x4, 0x41410100, 0x5F, 0x41414100, 0x22C,
|
||||||
0x41420100, 0x5A, 0x4180C000, 0x0};
|
0x41420100, 0x5A, 0x41810000, 0x9C4, 0x41814000, 0x32};
|
||||||
|
|
||||||
perform_hint_action(video_encode_metadata.hint_id,
|
perform_hint_action(video_encode_metadata.hint_id,
|
||||||
resource_values, sizeof(resource_values)/sizeof(resource_values[0]));
|
resource_values, sizeof(resource_values)/sizeof(resource_values[0]));
|
||||||
|
|
Loading…
Reference in New Issue