summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-09-12 19:08:34 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2019-09-13 17:07:34 +0300
commiteebab60f224fcfd560957715d08c31564d8672ed (patch)
tree6a941823e93e0b2b206af556f11b36dc21446794 /tools/perf/scripts/python/stackcollapse.py
parente91c8a29b452671d9af7259cd30980e6a2d78005 (diff)
downloadlinux-eebab60f224fcfd560957715d08c31564d8672ed.tar.xz
drm/i915: Don't mix srcu tag and negative error codes
While srcu may use an integer tag, it does not exclude potential error codes and so may overlap with our own use of -EINTR. Use a separate outparam to store the tag, and report the error code separately. Fixes: 2caffbf11762 ("drm/i915: Revoke mmaps and prevent access to fence registers across reset") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190912160834.30601-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions