disp: msm: sde: allow fence signalling during crtc disable

With the new ASYNC power-mode changes, user-mode can
request for retire/release fences during power-mode
changes. This is used as a signal for power-mode
completion by user-mode. Allow preparing/signalling
these fences during crtc enable/disable to support it.

Change-Id: I7709cd4762c8d77776ba6ba2d07aa6b76b5262d0
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
Этот коммит содержится в:
Veera Sundaram Sankaran
2019-07-08 17:47:11 -07:00
родитель a6bfb7fc1e
Коммит 76262482ed
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@@ -1060,7 +1060,7 @@ retry:
/* old_state actually contains updated crtc pointers */
for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) {
if (crtc->state->active)
if (crtc->state->active || crtc->state->active_changed)
sde_crtc_prepare_commit(crtc, old_crtc_state);
}