mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
Merge "disp: msm: sde: add changes to wait for only one WB_DONE irq"
This commit is contained in:
commit
f52f288196
1 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) "[drm:%s:%d] " fmt, __func__, __LINE__
|
||||
|
|
@ -1328,6 +1328,9 @@ static int _sde_encoder_phys_wb_wait_for_commit_done(
|
|||
_sde_encoder_phys_wb_frame_done_helper(wb_enc, false);
|
||||
}
|
||||
|
||||
if (atomic_read(&phys_enc->pending_retire_fence_cnt) > 1)
|
||||
wait_info.count_check = 1;
|
||||
|
||||
wait_info.wq = &phys_enc->pending_kickoff_wq;
|
||||
wait_info.atomic_cnt = &phys_enc->pending_retire_fence_cnt;
|
||||
wait_info.timeout_ms = max_t(u32, wb_enc->wbdone_timeout,
|
||||
|
|
|
|||
Loading…
Reference in a new issue