Hans de Goede
c8c2969bfc
drm/i915/dsi: Use unconditional msleep() instead of intel_dsi_msleep()
...
The intel_dsi_msleep() helper skips sleeping if the MIPI-sequences have
a version of 3 or newer and the panel is in vid-mode.
This is based on the big comment around line 730 which starts with
"Panel enable/disable sequences from the VBT spec.", where
the "v3 video mode seq" column does not have any wait t# entries.
Checking the Windows driver shows that it does always honor
the VBT delays independent of the version of the VBT sequences.
Commit 6fdb335f1c ("drm/i915/dsi: Use unconditional msleep for
the panel_on_delay when there is no reset-deassert MIPI-sequence")
switched to a direct msleep() instead of intel_dsi_msleep()
when there is no MIPI_SEQ_DEASSERT_RESET sequence, to fix
the panel on an Acer Aspire Switch 10 E SW3-016 not turning on.
And now testing on a Nextbook Ares 8A shows that panel_on_delay
must always be honored otherwise the panel will not turn on.
Instead of only always using regular msleep() for panel_on_delay
do as Windows does and always use regular msleep() everywhere
were intel_dsi_msleep() is used and drop the intel_dsi_msleep()
helper.
Changes in v2:
- Replace all intel_dsi_msleep() calls instead of just
the intel_dsi_msleep(panel_on_delay) call
Cc: stable@vger.kernel.org
Fixes: 6fdb335f1c ("drm/i915/dsi: Use unconditional msleep for the panel_on_delay when there is no reset-deassert MIPI-sequence")
Signed-off-by: Hans de Goede <hdegoede@redhat.com >
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20230425194441.68086-1-hdegoede@redhat.com
(cherry picked from commit fa83c12132 )
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com >
2023-05-03 08:31:24 +03:00
..
2022-11-23 16:05:33 +02:00
2022-11-23 16:05:54 +02:00
2023-03-07 19:09:20 +02:00
2022-11-03 16:20:53 +02:00
2023-02-17 23:15:19 +02:00
2022-02-02 07:59:54 -08:00
2023-03-28 10:54:21 +03:00
2023-03-28 10:54:08 +03:00
2022-11-11 13:05:19 +02:00
2023-03-06 18:26:30 +02:00
2023-02-16 16:46:35 +02:00
2022-11-11 12:44:49 +02:00
2023-05-03 08:31:24 +03:00
2021-11-23 13:11:42 +02:00
2022-09-03 12:16:53 +02:00
2022-09-03 12:16:53 +02:00
2023-03-17 15:24:27 +02:00
2023-03-17 15:24:27 +02:00
2023-01-10 13:50:53 -08:00
2022-02-11 22:42:23 +02:00
2022-11-11 12:44:49 +02:00
2023-03-20 09:43:03 -07:00
2023-01-25 12:23:48 +02:00
2022-12-07 19:24:14 +02:00
2023-02-24 15:02:37 -05:00
2021-08-26 10:40:41 +03:00
2023-03-21 13:44:36 +02:00
2023-02-17 23:15:19 +02:00
2023-02-01 22:07:03 +02:00
2023-01-25 13:59:12 +02:00
2023-02-22 18:28:03 -08:00
2023-01-25 13:59:12 +02:00
2023-03-21 18:21:02 +02:00
2023-03-21 18:20:54 +02:00
2023-02-27 09:14:57 -08:00
2023-02-27 09:14:57 -08:00
2023-01-26 12:27:33 +02:00
2022-11-03 16:20:53 +02:00
2023-03-30 19:30:43 +03:00
2022-02-02 07:59:54 -08:00
2023-04-03 12:41:13 +05:30
2023-04-03 12:41:13 +05:30
2023-03-21 12:24:13 +02:00
2021-12-09 16:18:30 +02:00
2023-03-17 15:24:27 +02:00
2022-06-02 17:58:17 -07:00
2021-10-14 18:45:59 +03:00
2023-04-19 17:25:29 +03:00
2023-04-19 17:25:29 +03:00
2023-01-18 11:06:07 +02:00
2023-03-28 10:54:21 +03:00
2023-04-04 10:05:38 +03:00
2023-03-21 12:24:13 +02:00
2023-01-25 13:59:12 +02:00
2023-01-25 13:59:12 +02:00
2022-04-20 20:41:57 +03:00
2023-03-30 19:30:40 +03:00
2022-11-03 16:20:53 +02:00
2023-04-04 10:05:38 +03:00
2023-03-06 19:09:33 +02:00
2023-01-27 08:52:29 -08:00
2023-03-06 19:51:32 +02:00
2023-03-06 19:51:32 +02:00
2021-12-09 11:21:46 +02:00
2023-01-18 11:05:41 +02:00
2023-04-03 11:35:32 +03:00
2023-04-17 09:22:11 +03:00
2023-04-03 11:35:30 +03:00
2022-10-26 15:51:18 +03:00
2022-10-26 15:51:18 +03:00
2022-10-26 15:51:18 +03:00
2023-01-20 23:37:39 +02:00
2023-03-09 10:57:15 -08:00
2023-03-06 19:09:47 +02:00
2023-02-16 22:10:02 +02:00
2023-03-30 19:30:40 +03:00
2023-04-04 01:04:33 +03:00
2023-02-17 23:15:19 +02:00
2022-11-11 13:05:19 +02:00
2023-03-21 16:17:20 +02:00
2023-03-21 16:17:20 +02:00
2023-04-19 17:25:29 +03:00
2023-02-13 21:34:58 +02:00
2023-04-03 12:41:13 +05:30
2022-12-13 18:17:53 +02:00
2023-02-16 18:10:05 +02:00
2022-11-03 16:20:53 +02:00
2023-02-16 18:09:56 +02:00
2022-09-26 20:43:14 +03:00
2023-01-18 12:17:19 +02:00
2022-04-25 21:15:12 +03:00
2023-03-31 14:58:01 +03:00
2023-03-24 23:56:35 +02:00
2023-02-17 23:25:15 +02:00
2022-10-07 20:04:38 +03:00
2023-03-30 19:30:57 +03:00
2023-03-30 19:30:57 +03:00
2023-02-20 22:54:51 +02:00
2023-02-16 12:01:33 +02:00
2023-05-03 08:31:24 +03:00
2023-05-03 08:31:24 +03:00
2022-08-31 15:19:39 +03:00
2022-08-18 13:10:51 +03:00
2023-01-25 13:59:12 +02:00
2022-11-23 16:07:19 +02:00
2023-02-16 18:11:21 +02:00
2022-12-06 10:52:41 +01:00
2022-09-08 10:24:17 +01:00
2023-03-24 23:56:35 +02:00
2023-03-24 23:56:35 +02:00
2023-01-18 11:45:13 +02:00
2022-08-19 12:38:54 +03:00
2023-03-24 20:22:03 +01:00
2023-02-10 16:16:21 +01:00
2023-03-30 19:30:43 +03:00
2023-03-30 19:30:43 +03:00
2021-10-19 09:40:13 +03:00
2023-02-23 16:28:03 +02:00
2023-02-23 16:28:03 +02:00
2022-11-17 19:00:37 +02:00
2022-08-29 13:37:05 +03:00
2022-11-17 16:12:56 +02:00
2022-11-17 16:12:56 +02:00
2022-08-31 18:09:20 +03:00
2023-02-16 18:11:08 +02:00
2022-09-12 14:53:33 -07:00
2023-03-23 12:17:22 +05:30
2023-03-23 12:17:22 +05:30
2022-11-11 12:44:49 +02:00
2023-03-23 12:17:22 +05:30
2023-04-06 01:30:12 +03:00
2022-11-03 16:20:53 +02:00
2023-03-16 16:47:11 +02:00
2022-09-19 12:32:49 +03:00
2022-11-17 16:12:56 +02:00
2022-11-23 11:16:58 +02:00
2022-11-17 16:12:56 +02:00
2023-02-23 16:27:36 +02:00
2023-02-23 16:27:36 +02:00
2023-02-14 14:03:57 +02:00
2023-01-31 11:24:06 +02:00
2023-03-30 19:30:25 +03:00
2022-02-02 07:59:54 -08:00
2023-01-27 08:52:32 -08:00
2023-04-03 11:35:31 +03:00
2022-06-20 19:28:47 +03:00
2022-10-22 12:38:49 +03:00
2022-06-17 11:54:56 +03:00
2023-03-10 18:17:07 +02:00
2023-03-16 15:35:09 +02:00
2022-08-31 18:09:23 +03:00
2023-01-31 11:24:06 +02:00
2023-01-26 12:27:33 +02:00
2023-03-30 19:30:43 +03:00
2022-03-04 18:24:19 +02:00
2023-02-16 18:10:18 +02:00
2022-09-08 14:20:54 +03:00
2023-01-18 11:33:04 -05:00
2023-01-18 11:45:13 +02:00
2021-10-12 12:58:33 +03:00
2023-03-30 19:30:25 +03:00
2023-03-30 19:30:25 +03:00
2022-12-09 19:02:50 +02:00
2023-04-04 10:05:38 +03:00
2023-04-04 10:05:38 +03:00
2023-03-20 11:50:21 +02:00
2023-04-03 12:41:11 +05:30
2023-04-03 12:41:11 +05:30
2023-02-23 13:58:14 +02:00
2022-08-31 17:21:47 +03:00
2023-01-26 12:27:33 +02:00
2022-02-02 07:59:54 -08:00
2022-11-11 12:44:49 +02:00
2023-02-24 17:04:12 +05:30
2022-06-17 11:54:54 +03:00
2023-03-17 15:24:27 +02:00
2023-03-17 15:24:27 +02:00
2023-03-17 15:24:27 +02:00
2022-11-03 16:20:53 +02:00
2023-04-06 15:39:16 +03:00
2023-04-03 11:35:30 +03:00
2023-03-30 19:30:34 +03:00
2023-03-30 19:30:34 +03:00
2023-03-18 14:25:15 +02:00
2023-03-18 14:24:57 +02:00
2022-09-13 11:43:29 +03:00
2023-04-03 12:41:10 +05:30
2023-04-03 12:41:12 +05:30
2022-02-15 14:41:05 +02:00
2023-01-25 13:52:36 +02:00
2023-03-01 17:11:02 +02:00
2022-05-27 20:20:40 +03:00
2023-03-06 18:25:43 +02:00
2023-04-03 16:01:02 +03:00
2023-02-16 16:46:35 +02:00
2023-04-24 14:48:42 +03:00
2023-03-24 23:56:35 +02:00
2022-11-03 16:20:53 +02:00
2023-04-04 10:05:38 +03:00
2023-04-04 10:05:38 +03:00
2023-02-16 16:46:35 +02:00
2022-02-21 12:06:10 +02:00
2023-01-30 14:57:15 +02:00
2021-11-23 13:11:36 +02:00
2022-11-11 12:44:49 +02:00
2023-05-03 08:31:24 +03:00
2021-11-23 13:11:39 +02:00