Lucas De Marchi
df04b152fc
drm/xe/display: Fix ADL-N detection
...
Contrary to i915, in xe ADL-N is kept as a different platform, not a
subplatform of ADL-P. Since the display side doesn't need to
differentiate between P and N, i.e. IS_ALDERLAKE_P_N() is never called,
just fixup the compat header to check for both P and N.
Moving ADL-N to be a subplatform would be more complex as the firmware
loading in xe only handles platforms, not subplatforms, as going forward
the direction is to check on IP version rather than
platforms/subplatforms.
Fix warning when initializing display:
xe 0000:00:02.0: [drm:intel_pch_type [xe]] Found Alder Lake PCH
------------[ cut here ]------------
xe 0000:00:02.0: drm_WARN_ON(!((dev_priv)->info.platform == XE_ALDERLAKE_S) && !((dev_priv)->info.platform == XE_ALDERLAKE_P))
And wrong paths being taken on the display side.
Reviewed-by: Matt Roper <matthew.d.roper@intel.com >
Acked-by: Jani Nikula <jani.nikula@intel.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20240425181610.2704633-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com >
(cherry picked from commit 6a2a90cba1 )
Fixes: 44e694958b ("drm/xe/display: Implement display support")
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com >
2024-05-02 11:11:01 -05:00
..
2024-02-01 11:34:59 +01:00
2024-05-02 11:11:01 -05:00
2024-04-17 08:03:06 -05:00
2023-12-21 16:31:29 -05:00
2024-04-11 08:41:54 -05:00
2024-03-13 18:34:05 -07:00
2023-12-19 18:34:03 -05:00
2023-12-21 16:31:30 -05:00
2024-03-04 08:41:11 -06:00
2024-03-04 08:41:11 -06:00
2023-12-21 11:40:20 -05:00
2024-03-31 11:32:26 +09:00
2023-12-21 11:41:16 -05:00
2023-12-12 14:05:48 -05:00
2023-12-21 11:43:00 -05:00
2023-12-21 11:40:27 -05:00
2023-12-12 14:05:48 -05:00
2023-12-21 11:41:08 -05:00
2023-12-12 14:05:48 -05:00
2024-03-25 13:45:32 -05:00
2024-03-25 13:45:32 -05:00
2024-02-29 10:39:02 +01:00
2024-01-19 08:28:31 -05:00
2023-12-12 14:05:48 -05:00
2024-02-21 20:08:57 +01:00
2024-02-21 20:08:57 +01:00
2024-01-24 10:53:38 -08:00
2023-12-21 11:37:35 -05:00
2023-12-21 11:37:35 -05:00
2024-04-04 08:32:34 -05:00
2024-04-04 08:32:34 -05:00
2024-03-25 13:45:32 -05:00
2024-01-24 11:12:45 +01:00
2023-12-12 14:05:48 -05:00
2024-02-29 10:39:02 +01:00
2023-12-21 11:41:15 -05:00
2023-12-19 18:33:50 -05:00
2024-04-04 08:32:22 -05:00
2024-03-25 13:45:32 -05:00
2024-01-10 15:01:53 -08:00
2024-04-04 08:32:31 -05:00
2023-12-12 14:05:48 -05:00
2023-12-21 11:39:20 -05:00
2024-03-13 18:34:05 -07:00
2023-12-21 11:37:31 -05:00
2023-12-21 11:41:13 -05:00
2023-12-21 11:46:08 -05:00
2023-12-21 11:41:08 -05:00
2023-12-19 18:34:03 -05:00
2023-12-21 11:42:58 -05:00
2024-02-13 18:59:47 +01:00
2024-01-12 11:49:16 +01:00
2023-12-12 14:05:48 -05:00
2023-12-12 14:05:48 -05:00
2023-12-12 14:05:48 -05:00
2024-01-18 11:04:37 -08:00
2024-01-18 11:04:37 -08:00
2024-02-01 13:25:47 -08:00
2024-01-18 11:04:34 -08:00
2024-01-23 16:54:41 +01:00
2024-02-21 21:53:15 -08:00
2024-01-18 11:04:34 -08:00
2024-04-24 10:19:52 -05:00
2024-04-24 10:19:52 -05:00
2023-12-21 11:45:19 -05:00
2023-12-21 11:41:13 -05:00
2023-12-21 11:43:00 -05:00
2023-12-12 14:05:48 -05:00
2024-01-15 15:36:52 +01:00
2023-12-21 11:45:28 -05:00
2023-12-21 11:45:08 -05:00
2024-02-21 10:38:59 +01:00
2023-12-21 11:45:08 -05:00
2024-02-13 18:59:54 +01:00
2023-12-19 18:32:21 -05:00
2024-04-04 08:32:31 -05:00
2023-12-19 18:27:45 -05:00
2023-12-21 16:31:29 -05:00
2024-01-05 16:25:53 +01:00
2023-12-12 14:05:48 -05:00
2023-12-21 11:37:52 -05:00
2023-12-21 11:35:07 -05:00
2023-12-21 11:45:28 -05:00
2023-12-21 11:45:28 -05:00
2023-12-19 18:27:46 -05:00
2024-04-04 08:32:28 -05:00
2023-12-19 18:27:47 -05:00
2024-02-09 11:52:28 +02:00
2023-12-21 11:34:42 -05:00
2024-04-04 08:32:28 -05:00
2024-04-24 10:19:52 -05:00
2024-02-20 14:13:47 -05:00
2023-12-12 14:05:48 -05:00
2024-02-20 14:13:42 -05:00
2023-12-12 14:05:48 -05:00
2024-01-26 15:12:28 -05:00
2024-04-24 10:20:00 -05:00
2024-01-26 15:12:28 -05:00
2024-01-12 11:53:05 +01:00
2023-12-21 16:31:29 -05:00
2023-12-21 11:44:32 -05:00
2023-12-12 14:05:48 -05:00
2023-12-21 11:39:20 -05:00
2024-01-18 09:05:37 -05:00
2024-02-20 14:13:42 -05:00
2023-12-12 14:05:48 -05:00
2024-01-05 16:25:53 +01:00
2023-12-12 14:05:48 -05:00
2024-02-20 14:13:42 -05:00
2023-12-12 14:05:48 -05:00
2023-12-19 18:29:20 -05:00
2024-02-20 14:13:46 -05:00
2024-02-20 14:13:46 -05:00
2024-01-05 16:25:53 +01:00
2024-01-05 21:28:09 +01:00
2024-01-05 16:25:53 +01:00
2024-01-23 16:54:41 +01:00
2024-03-25 13:45:32 -05:00
2024-01-24 10:53:38 -08:00
2024-01-23 16:54:41 +01:00
2024-02-21 21:53:15 -08:00
2024-01-11 19:14:19 +01:00
2024-01-19 14:35:31 +02:00
2023-12-21 11:43:00 -05:00
2023-12-21 11:37:51 -05:00
2023-12-12 14:05:48 -05:00
2023-12-21 11:45:24 -05:00
2024-04-24 10:19:55 -05:00
2024-02-20 14:13:45 -05:00
2024-01-19 14:36:04 +02:00
2023-12-21 11:45:09 -05:00
2024-01-24 11:08:25 -08:00
2024-02-13 18:59:48 +01:00
2023-12-21 11:40:20 -05:00
2023-12-19 18:29:20 -05:00
2024-02-01 11:25:45 +01:00
2023-12-19 18:30:13 -05:00
2024-04-11 08:41:53 -05:00
2023-12-21 11:42:08 -05:00
2024-02-12 20:28:11 +02:00
2023-12-19 18:34:19 -05:00
2023-12-21 11:45:27 -05:00
2023-12-21 11:45:27 -05:00
2023-12-21 11:45:27 -05:00
2023-12-21 11:45:27 -05:00
2023-12-21 11:45:27 -05:00
2024-01-23 16:54:41 +01:00
2024-04-11 08:41:54 -05:00
2023-12-21 11:43:22 -05:00
2023-12-21 11:39:17 -05:00
2023-12-21 11:37:52 -05:00
2023-12-21 16:31:29 -05:00
2023-12-21 16:31:29 -05:00
2023-12-21 16:31:29 -05:00
2023-12-19 18:29:44 -05:00
2024-04-11 08:41:53 -05:00
2023-12-21 11:46:15 -05:00
2024-03-13 18:34:05 -07:00
2023-12-21 11:45:11 -05:00
2024-02-13 18:59:49 +01:00
2023-12-21 11:42:03 -05:00
2023-12-21 11:46:59 -05:00
2023-12-21 11:45:06 -05:00
2024-02-13 18:59:53 +01:00
2023-12-21 11:45:07 -05:00
2023-12-21 11:45:27 -05:00
2024-01-31 14:59:07 +02:00
2023-12-19 18:31:31 -05:00
2024-01-09 17:47:24 -05:00
2023-12-21 11:45:09 -05:00
2023-12-21 11:42:08 -05:00
2023-12-21 11:42:58 -05:00
2024-03-13 18:34:05 -07:00
2024-01-08 16:55:44 -05:00
2023-12-21 11:39:20 -05:00
2024-04-04 08:32:34 -05:00
2023-12-21 11:39:20 -05:00
2023-12-21 11:46:15 -05:00
2024-02-15 09:53:18 +01:00
2024-02-15 09:53:18 +01:00
2024-04-04 08:32:31 -05:00
2023-12-21 11:45:28 -05:00
2024-03-25 13:45:32 -05:00
2023-12-12 14:05:48 -05:00
2024-02-15 09:53:38 +01:00
2023-12-21 11:37:52 -05:00
2023-12-19 18:32:21 -05:00
2024-02-09 11:52:28 +02:00
2023-12-19 18:35:20 -05:00
2023-12-26 22:22:04 -08:00
2023-12-19 18:29:47 -05:00
2023-12-21 11:43:34 -05:00
2023-12-12 14:05:48 -05:00
2024-04-04 08:32:22 -05:00
2023-12-12 14:05:48 -05:00
2023-12-21 11:37:30 -05:00
2023-12-21 11:41:03 -05:00
2023-12-21 11:34:42 -05:00
2023-12-21 11:42:57 -05:00
2023-12-12 14:05:48 -05:00
2023-12-21 11:37:31 -05:00
2023-12-19 18:34:14 -05:00
2024-04-04 08:32:22 -05:00
2024-04-04 08:32:22 -05:00
2024-01-30 11:53:47 -08:00
2023-12-21 11:45:27 -05:00
2024-01-05 16:25:52 +01:00
2024-01-05 16:25:52 +01:00
2024-01-05 16:25:52 +01:00
2023-12-19 18:34:01 -05:00
2023-12-21 11:42:58 -05:00
2023-12-21 11:45:24 -05:00
2024-02-29 10:39:02 +01:00
2024-02-29 10:39:02 +01:00
2024-02-29 10:39:02 +01:00
2023-12-21 11:35:06 -05:00
2024-01-09 17:47:24 -05:00
2023-12-21 11:35:06 -05:00
2024-03-07 09:13:38 +01:00
2023-12-21 11:45:10 -05:00
2023-12-21 11:43:34 -05:00
2024-03-21 19:04:31 -07:00
2024-02-21 21:53:15 -08:00
2023-12-19 18:29:47 -05:00
2023-12-19 18:31:42 -05:00
2023-12-19 18:31:30 -05:00
2023-12-21 11:43:32 -05:00
2023-12-21 11:46:17 -05:00
2023-12-21 11:37:54 -05:00
2024-01-23 07:41:00 -08:00
2023-12-21 11:42:10 -05:00
2023-12-12 14:05:48 -05:00
2023-12-12 14:05:48 -05:00
2023-12-21 11:45:06 -05:00
2024-01-23 16:54:41 +01:00
2024-02-07 15:08:21 -08:00
2023-12-21 11:45:06 -05:00
2023-12-21 11:45:06 -05:00
2024-02-20 14:13:47 -05:00
2024-01-18 11:04:34 -08:00
2023-12-21 11:44:33 -05:00
2024-04-04 08:32:26 -05:00
2024-05-01 10:06:57 -05:00
2024-04-04 08:32:31 -05:00
2024-03-14 14:29:38 -05:00
2024-01-09 17:47:24 -05:00
2024-01-18 09:05:37 -05:00
2024-02-21 21:53:15 -08:00
2023-12-21 11:41:14 -05:00
2024-01-08 07:43:31 -08:00
2023-12-12 14:05:48 -05:00
2024-01-23 16:54:41 +01:00
2023-12-21 11:44:39 -05:00
2023-12-12 14:05:48 -05:00