mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
46f3ceaffa
Move mipi_dsi_dcs_set_display_off() from innolux_panel_disable() to innolux_panel_unprepare(), so they are consistent with innolux_panel_enable() and innolux_panel_prepare(). This also fixes some mode check and irq timeout issue in MTK dsi code. Since some dsi code (e.g. mtk_dsi) have following call trace: 1. drm_panel_disable(), which calls innolux_panel_disable() 2. switch to cmd mode 3. drm_panel_unprepare(), which calls innolux_panel_unprepare() However, mtk_dsi needs to be in cmd mode to be able to send commands (e.g. mipi_dsi_dcs_set_display_off() and mipi_dsi_dcs_enter_sleep_mode()), so we need these functions to be called after the switch to cmd mode happens, i.e. in innolux_panel_unprepare. Signed-off-by: Hsin-Yi, Wang <hsinyi@chromium.org> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190109065922.231753-1-hsinyi@chromium.org |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
panel-arm-versatile.c | ||
panel-ilitek-ili9322.c | ||
panel-ilitek-ili9881c.c | ||
panel-innolux-p079zca.c | ||
panel-jdi-lt070me05000.c | ||
panel-lg-lg4573.c | ||
panel-lvds.c | ||
panel-olimex-lcd-olinuxino.c | ||
panel-orisetech-otm8009a.c | ||
panel-panasonic-vvx10f034n00.c | ||
panel-raspberrypi-touchscreen.c | ||
panel-raydium-rm68200.c | ||
panel-samsung-ld9040.c | ||
panel-samsung-s6d16d0.c | ||
panel-samsung-s6e3ha2.c | ||
panel-samsung-s6e8aa0.c | ||
panel-samsung-s6e63j0x03.c | ||
panel-seiko-43wvf1g.c | ||
panel-sharp-lq101r1sx01.c | ||
panel-sharp-ls043t1le01.c | ||
panel-simple.c | ||
panel-sitronix-st7789v.c | ||
panel-tpo-tpg110.c | ||
panel-truly-nt35597.c |