diff options
author | Jani Nikula <jani.nikula@intel.com> | 2022-06-28 17:10:05 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-06-30 13:09:06 +0300 |
commit | 0f36d074aeb51a20508a65861d1518dbc231a1fc (patch) | |
tree | c89f9b5c4dad970a358f711752a4f13d198472d6 /tools/perf/scripts/python/intel-pt-events.py | |
parent | e61f294c7e8da94bb1c9d66f2cdcebfa2dc535a2 (diff) |
drm/i915: use DISPLAY_VER() instead of accessing match_info directly
We've just set up device info in i915_driver_create() so we can use
DISPLAY_VER() intead of looking at match_info directly.
Semantically we want to check the display version instead of the
graphics version, and for the earlier platforms they are always the
same.
v2: Use DISPLAY_VER() instead of GRAPHICS_VER() (Ville)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220628141005.226252-1-jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions