diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-10-29 18:55:36 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-10-30 15:19:07 +0300 |
commit | 5eb2e7855910561a07d4cedf9c898624899b057b (patch) | |
tree | eefd2b6bef8d7714c6ada750bcb3c39781792a42 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3291b7418a3e0f085ded70ceec0c9843c571dbd3 (diff) | |
download | linux-5eb2e7855910561a07d4cedf9c898624899b057b.tar.xz |
drm/i915/display: use x100 version for full version and release
Use x100, or ver * 100 + rel, versions for full IP version checks,
similar to what xe driver does:
- Replace IP_VER(14, 1) inline with 1401, etc.
- Convert DISPLAY_VER_FULL() to DISPLAY_VERx100()
- Convert IS_DISPLAY_VER_FULL() to IS_DISPLAY_VERx100()
- Convert IS_DISPLAY_VER_STEP() to IS_DISPLAY_VERx100_STEP()
This makes ver.rel versions easier to use, follows the xe driver
pattern, and drops the dependency on the IP_VER() macro.
v2: Rebase, drop IP_VER() from xe compat headers
v3: Rebase
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241029155536.753413-1-jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions