|
@@ -1704,6 +1704,10 @@ static void _sde_encoder_rc_restart_delayed(struct sde_encoder_virt *sde_enc,
|
|
unsigned int lp, idle_pc_duration;
|
|
unsigned int lp, idle_pc_duration;
|
|
struct msm_drm_thread *disp_thread;
|
|
struct msm_drm_thread *disp_thread;
|
|
|
|
|
|
|
|
+ /* return early if called from esd thread */
|
|
|
|
+ if (!sde_enc->delay_kickoff)
|
|
|
|
+ return;
|
|
|
|
+
|
|
/* set idle timeout based on master connector's lp value */
|
|
/* set idle timeout based on master connector's lp value */
|
|
if (sde_enc->cur_master)
|
|
if (sde_enc->cur_master)
|
|
lp = sde_connector_get_lp(
|
|
lp = sde_connector_get_lp(
|