mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Merge "disp: msm: sde: add traces for lastclose"
This commit is contained in:
commit
cd1fb3642a
1 changed files with 3 additions and 1 deletions
|
|
@ -2460,6 +2460,7 @@ static void sde_kms_lastclose(struct msm_kms *kms)
|
|||
}
|
||||
|
||||
state->acquire_ctx = &ctx;
|
||||
SDE_EVT32(SDE_EVTLOG_FUNC_ENTRY);
|
||||
|
||||
retry:
|
||||
ret = drm_modeset_lock_all_ctx(dev, &ctx);
|
||||
|
|
@ -2483,12 +2484,13 @@ out_ctx:
|
|||
if (ret)
|
||||
SDE_ERROR("kms lastclose failed: %d\n", ret);
|
||||
|
||||
SDE_EVT32(ret, SDE_EVTLOG_FUNC_EXIT);
|
||||
return;
|
||||
|
||||
backoff:
|
||||
drm_atomic_state_clear(state);
|
||||
drm_modeset_backoff(&ctx);
|
||||
|
||||
SDE_EVT32(ret, SDE_EVTLOG_FUNC_CASE1);
|
||||
goto retry;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue