summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2021-11-12 19:01:07 +0300
committerMatt Roper <matthew.d.roper@intel.com>2021-11-15 21:51:20 +0300
commitfac73543fff0ff23622c98879c66d069778c114a (patch)
tree5341cb6e466b02a5654b22b5e9effeea7a7445e7 /tools/perf/scripts/python/export-to-sqlite.py
parent5f1176b419f9468f05dabdc8352bfa9b15427377 (diff)
downloadlinux-fac73543fff0ff23622c98879c66d069778c114a.tar.xz
drm/i915: Don't read query SSEU for non-existent slice 0 on old platforms
Pre-HSW platforms don't use the gt SSEU structures; this means that calling intel_sseu_get_subslices() on slice 0 for these platforms will trip a GEM_BUG_ON(slice >= sseu->max_slices) warning. Let's move the DSS lookup for a DG2 workaround into a helper function that will only get called after we've already decided that we're on a DG2 platform. Fixes: 645cc0b9d972 ("drm/i915/dg2: Add initial gt/ctx/engine workarounds") Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211112160107.1593906-1-matthew.d.roper@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions