diff options
| author | Lucas De Marchi <[email protected]> | 2024-04-25 11:16:09 -0700 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2024-04-26 08:00:29 -0700 |
| commit | 6a2a90cba12b42eb96c2af3426b77ceb4be31df2 (patch) | |
| tree | aabb93362eec03b49a696694d8dec8b87c3d131b /tools/perf/scripts/python/syscall-counts.py | |
| parent | 445237d67a818c18a748602f8eaa4b52f8c6b39c (diff) | |
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 <[email protected]>
Acked-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions