msm: vidc: fix for choosing clock frequency based on session type
In clock frequency table, codec config parameter first bit used to
identify codec type and second bit is used for session type.
If parallel encode and decode sessions are running for same codec, decoder
session is masking the encoder session type bit.
This is causing decoder codec clock frequency to get selected.
Propagate active sessions information separately while choosing clocks
frequency.
Change-Id: I259a9db1a4337cbc51cee2ff1724feba6e5aa952
Signed-off-by:
Srinu Gorle <sgorle@codeaurora.org>
Loading
Please register or sign in to comment