diff options
| author | Matt Roper <[email protected]> | 2023-08-21 11:06:28 -0700 |
|---|---|---|
| committer | Matt Roper <[email protected]> | 2023-08-21 17:13:11 -0700 |
| commit | e388ae97e2253363275396b0f74c0df7d3f03b15 (patch) | |
| tree | 8a4ab98009656b17460446ea1f8549b602ef3718 /tools/perf/scripts/python/bin | |
| parent | 213454b3af2e35c2ce9bbfa3e648bcde6d60eac5 (diff) | |
drm/i915/display: Eliminate IS_METEORLAKE checks
Most of the IS_METEORLAKE checks in the display code shouldn't actually
be tied to MTL as a platform, but rather to the Xe_LPD+ display IP
(which is used in MTL, but may show up again in future platforms). In
cases where we're trying to match that specific IP, use a version check
against IP_VER(14, 0). For cases where we're just handling new behavior
introduced by this IP (but which may also be inherited by future IP as
well), use a ver >= 14 check.
The one exception here is the stolen memory workaround Wa_13010847436
(which is mislabelled as "Wa_22018444074" in the code). That's truly a
MTL-specific issue rather than being tied to any of the IP blocks, so
leaving the condition as IS_METEORLAKE is correct there.
v2:
- cdclk check should be >=, not >. (Gustavo)
Signed-off-by: Matt Roper <[email protected]>
Reviewed-by: Gustavo Sousa <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions