Merge "disp: msm: sde: update rsvp_cur when poll is enabled for rsvp_nxt"

This commit is contained in:
qctecmdr 2021-07-22 23:50:57 -07:00 committed by Gerrit - the friendly Code Review server
commit ad61b3f235

View File

@ -2464,6 +2464,7 @@ int sde_rm_reserve(
*/
if (test_only && rsvp_nxt) {
rsvp_nxt = _sde_rm_poll_get_rsvp_nxt_locked(rm, enc);
rsvp_cur = _sde_rm_get_rsvp_cur(rm, enc);
if (rsvp_nxt) {
SDE_ERROR("poll timeout cur %d nxt %d enc %d\n",
(rsvp_cur) ? rsvp_cur->seq : -1,