|
@@ -3998,6 +3998,7 @@ void sde_crtc_commit_kickoff(struct drm_crtc *crtc,
|
|
|
|
|
|
idle_pc_state = sde_crtc_get_property(cstate, CRTC_PROP_IDLE_PC_STATE);
|
|
|
|
|
|
+ sde_crtc->kickoff_in_progress = true;
|
|
|
list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
|
|
|
if (encoder->crtc != crtc)
|
|
|
continue;
|
|
@@ -4059,6 +4060,7 @@ void sde_crtc_commit_kickoff(struct drm_crtc *crtc,
|
|
|
|
|
|
sde_encoder_kickoff(encoder, false, true);
|
|
|
}
|
|
|
+ sde_crtc->kickoff_in_progress = false;
|
|
|
|
|
|
/* store the event after frame trigger */
|
|
|
if (sde_crtc->event) {
|
|
@@ -7092,6 +7094,7 @@ struct drm_crtc *sde_crtc_init(struct drm_device *dev, struct drm_plane *plane)
|
|
|
atomic_set(&sde_crtc->frame_pending, 0);
|
|
|
|
|
|
sde_crtc->enabled = false;
|
|
|
+ sde_crtc->kickoff_in_progress = false;
|
|
|
|
|
|
/* Below parameters are for fps calculation for sysfs node */
|
|
|
sde_crtc->fps_info.fps_periodic_duration = DEFAULT_FPS_PERIOD_1_SEC;
|