Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 73440ee8 authored by Arun Menon's avatar Arun Menon Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Load firmware early only if early-fw-load is true



Load firmware early during probe, only if early-fw-load entry
is set to true in video dtsi. Also fix a race condition issue
related to ocmem allocation during early firmware download.
Video driver calls suspend immediatly after sys init done response
is received from firmware. The suspend call leads to triggering
power collapse immediately. During power collapse, venus hfi
detects there is no ocmem to unset. The ocmem gets allocated only
after the first power collapse is triggered. So the first
power collapse fails. In mean time ocmem gets allocated and
driver goes in to power collapse after two seconds. By removing
suspend call during early firmware download, we prevent the race
condition.

Change-Id: I33b0155faf14c11477a8c205c714ae429dc54550
Signed-off-by: default avatarArun Menon <avmenon@codeaurora.org>
parent 502b33f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment