mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "disp: msm: sde: poll for rsvp nxt after idle"
This commit is contained in:
commit
dbb61136a6
1 changed files with 5 additions and 2 deletions
|
|
@ -2453,11 +2453,14 @@ int sde_rm_reserve(
|
|||
* Poll for rsvp_nxt clear, allow the check_only commit if rsvp_nxt
|
||||
* gets cleared and bailout if it does not get cleared before timeout.
|
||||
*/
|
||||
if (test_only && rsvp_cur && rsvp_nxt) {
|
||||
if (test_only && rsvp_nxt) {
|
||||
rsvp_nxt = _sde_rm_poll_get_rsvp_nxt_locked(rm, enc);
|
||||
if (rsvp_nxt) {
|
||||
SDE_ERROR("poll timeout cur %d nxt %d enc %d\n",
|
||||
rsvp_cur->seq, rsvp_nxt->seq, enc->base.id);
|
||||
(rsvp_cur) ? rsvp_cur->seq : -1,
|
||||
rsvp_nxt->seq, enc->base.id);
|
||||
SDE_EVT32(enc->base.id, (rsvp_cur) ? rsvp_cur->seq : -1,
|
||||
rsvp_nxt->seq, SDE_EVTLOG_ERROR);
|
||||
ret = -EINVAL;
|
||||
goto end;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue