disp: msm: sde: wait for specific pp_done instead of zero
2 Frames transfer pending is possible with posted start. One ongoing frame and another triggered frame. Current SW waits for pp_done interrupt if pending frame count is greater than 1. It is possible that interrupt may be missed for ongoing frame. In that case, SW should run pp_done wait for one by one frame instead of two frames together. It allows encoder to check the ctl scheduler status and trigger the frame done event on time. Change-Id: I4817842292d96747890ee70da8a5bdf9b56816ed Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
@@ -458,11 +458,13 @@ struct sde_enc_phys_init_params {
|
||||
* sde_encoder_wait_info - container for passing arguments to irq wait functions
|
||||
* @wq: wait queue structure
|
||||
* @atomic_cnt: wait until atomic_cnt equals zero
|
||||
* @count_check: wait for specific atomic_cnt instead of zero.
|
||||
* @timeout_ms: timeout value in milliseconds
|
||||
*/
|
||||
struct sde_encoder_wait_info {
|
||||
wait_queue_head_t *wq;
|
||||
atomic_t *atomic_cnt;
|
||||
u32 count_check;
|
||||
s64 timeout_ms;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user