aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2021-04-21 15:33:58 +0000
committerJani Nikula <[email protected]>2021-05-12 17:52:24 +0000
commit4819d16d91145966ce03818a95169df1fd56b299 (patch)
tree12982896f3416035c53b6335e10f06ef87b63810 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentdrm/i915/dp: Use slow and wide link training for everything (diff)
downloadkernel-4819d16d91145966ce03818a95169df1fd56b299.tar.gz
kernel-4819d16d91145966ce03818a95169df1fd56b299.zip
drm/i915: Avoid div-by-zero on gen2
Gen2 tiles are 2KiB in size so i915_gem_object_get_tile_row_size() can in fact return <4KiB, which leads to div-by-zero here. Avoid that. Not sure i915_gem_object_get_tile_row_size() is entirely sane anyway since it doesn't account for the different tile layouts on i8xx/i915... I'm not able to hit this before commit 6846895fde05 ("drm/i915: Replace PIN_NONFAULT with calls to PIN_NOEVICT") and it looks like I also need to run recent version of Mesa. With those in place xonotic trips on this quite easily on my 85x. Cc: [email protected] Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit ed52c62d386f764194e0184fdb905d5f24194cae) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions