Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b182ac01 authored by Rohit Sekhar's avatar Rohit Sekhar
Browse files

Revert "[FP4-306] iris pt lightup, dymamic switch pq_path_is_dsi_hs"

This reverts commit 862e9b57.
parent 00773d3a
Loading
Loading
Loading
Loading
+5 −13
Original line number Diff line number Diff line
@@ -3140,10 +3140,10 @@ int iris_enable(struct dsi_panel *panel, struct dsi_panel_cmd_set *on_cmds)
	int lightup_opt = iris_lightup_opt_get();
	u32 regs[] = {0xf1100808, 0xf1100818, 0xf1100a00, 0xf1100034, 0xf1100204};

	__iris_cont_splash_video_path_check(pcfg);
	//we use PATH_I2C as the first path for pq update until panel on/off
	pcfg->pq_update_path = PATH_DSI;

 //set pcfg->pq_update_is_dsi_hs to 1 after panel on/off
  pcfg->pq_update_is_dsi_hs = 1;
	__iris_cont_splash_video_path_check(pcfg);

	IRIS_LOGI("%s(), lightup opt: 0x%x", __func__, lightup_opt);

@@ -3330,16 +3330,8 @@ static int _iris_cont_splash_video_lightup_thread_main(void *data)
	}
	__iris_cont_splash_video_path_check(pcfg);

#if 0
        //we use PATH_I2C as the first path for pq update until panel on/off
  pcfg->light_up_path = PATH_I2C;
        pcfg->pq_update_path = PATH_I2C;
  pcfg->single_ipopt_path = PATH_I2C;
  pcfg->path_backup_need_restore = 1;
#endif

  //set pcfg->pq_update_is_dsi_hs to 0 before panel on/off
  pcfg->pq_update_is_dsi_hs = 0;

	IRIS_LOGI("%s(%d) <<<<<<END<<<---", __func__, __LINE__);
	return 0;