diff options
author | Aditya Swarup <[email protected]> | 2020-12-02 23:23:59 -0800 |
---|---|---|
committer | Lucas De Marchi <[email protected]> | 2020-12-17 18:24:19 -0800 |
commit | 0a982c15711ec03d77a6f11b33559be76323fb16 (patch) | |
tree | f99a6e4bb530ce301b774cbc3be672dfe975fdd9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 83dbd74f8243f020d1ad8a3a3b3cd0795067920e (diff) |
drm/i915/tgl: Add bound checks and simplify TGL REVID macros
Add bound checks for TGL REV ID array. Since, there might
be a possibility of using older kernels on latest platform
revisions, resulting in out of bounds access for rev ID array.
In this scenario, use the latest rev ID available and apply
those WAs.
Also, modify GT macros for TGL rev ID to reuse tgl_revids_get().
Cc: José Roberto de Souza <[email protected]>
Cc: Matt Roper <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Aditya Swarup <[email protected]>
Signed-off-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions