diff options
| author | Senthil kumar Rajagopal <skrajago@codeaurora.org> | 2015-05-30 00:56:06 -0700 |
|---|---|---|
| committer | Senthil Kumar Rajagopal <skrajago@codeaurora.org> | 2015-06-18 11:50:03 -0700 |
| commit | d1d399cc670d7ab442ac8c3afaee7522eb7018e6 (patch) | |
| tree | d7c3028716d41c84dbdc03b950f544e048049c42 /scripts/build-all.py | |
| parent | 723b294732c987d37a7a15843ac2fdf394c73a94 (diff) | |
msm: camera: isp: Return error if scheduling is delayed
Hardware writes into ping / pong address in alternate frames.
Software maintains a counter for sof and increments it when
sof irq is received from hardware. If scheduling is delayed,
software book-keeping logic goes wrong because hardware ping /
pong address switches back and forth while software is unable
to track it due to scheduling delay. Add logic for software
ping / pong logic and validate against hardware irq. If there
is mismatch, report error to avoid page fault issues.
Change-Id: I1797cbb3f34c8e4a0dffecbdf92e66674f02d2f1
Signed-off-by: Senthil Kumar Rajagopal <skrajago@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
0 files changed, 0 insertions, 0 deletions
