msm: cvp: All CVP load treated as real-time
Non-real-time workload will be rejected if CVP runs out of capacity. Change-Id: Ifbbc197cbd2408209d83e2ec44b9ad9b74ad6888 Signed-off-by: George Shen <sqiao@codeaurora.org>
This commit is contained in:
parent
2251e53c39
commit
237a842702
@ -761,7 +761,7 @@ static void aggregate_power_update(struct msm_cvp_core *core,
|
||||
inst->state == MSM_CVP_CORE_UNINIT ||
|
||||
!is_subblock_profile_existed(inst))
|
||||
continue;
|
||||
if (inst->prop.priority <= CVP_RT_PRIO_THRESHOLD) {
|
||||
if (inst->prop.priority < CVP_RT_PRIO_THRESHOLD) {
|
||||
/* Non-realtime session use index 0 */
|
||||
i = 0;
|
||||
} else {
|
||||
|
@ -47,7 +47,8 @@
|
||||
|
||||
#define ARP_BUF_SIZE 0x100000
|
||||
|
||||
#define CVP_RT_PRIO_THRESHOLD 1
|
||||
/* Adjust this value to admit non-realtime session */
|
||||
#define CVP_RT_PRIO_THRESHOLD 0
|
||||
|
||||
struct msm_cvp_inst;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user