aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorMatt Roper <[email protected]>2021-11-12 08:01:07 -0800
committerMatt Roper <[email protected]>2021-11-15 10:51:20 -0800
commitfac73543fff0ff23622c98879c66d069778c114a (patch)
tree5341cb6e466b02a5654b22b5e9effeea7a7445e7 /scripts/gdb/linux/tasks.py
parent5f1176b419f9468f05dabdc8352bfa9b15427377 (diff)
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 <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions