video: driver: limit max number of sessions based on resolution
add checks to limit max number of sessions supported based on resolution. max number of 720P sessions: 16 max number of 1080P sessions: 8 max number of 4K sessions: 4 max number of 8K sessions: 2 Change-Id: I2a784a0d28ba050923bdc7f42a21ee9801d01d86 Signed-off-by: Darshana Patil <darshana@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

szülő
8e1ba950f0
commit
e17abd45c1
@@ -304,6 +304,10 @@ enum msm_vidc_core_capability_type {
|
||||
ENC_CODECS,
|
||||
DEC_CODECS,
|
||||
MAX_SESSION_COUNT,
|
||||
MAX_NUM_720P_SESSIONS,
|
||||
MAX_NUM_1080P_SESSIONS,
|
||||
MAX_NUM_4K_SESSIONS,
|
||||
MAX_NUM_8K_SESSIONS,
|
||||
MAX_SECURE_SESSION_COUNT,
|
||||
MAX_LOAD,
|
||||
MAX_MBPF,
|
||||
|
Reference in New Issue
Block a user