summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2019-11-11 12:50:25 -0800
committerLucas De Marchi <lucas.demarchi@intel.com>2019-11-18 13:27:09 -0800
commit03cea61076f00ec6514aae88ec56f01117824cb7 (patch)
tree97da12e1dbded889233c79d7330fd7638b5afc2d /tools/perf/scripts/python/stackcollapse.py
parentac4eead3796579bdadd12e2fa99c4ddc920eda30 (diff)
downloadlinux-03cea61076f00ec6514aae88ec56f01117824cb7.tar.gz
linux-03cea61076f00ec6514aae88ec56f01117824cb7.zip
drm/i915/dsb: fix extra warning on error path handling
When we call intel_dsb_get(), the dsb initialization may fail for various reasons. We already log the error message in that path, making it unnecessary to trigger a warning that refcount == 0 when calling intel_dsb_put(). So here we simplify the logic and do lazy shutdown: leaving the extra refcount alive so when we call intel_dsb_put() we end up calling i915_vma_unpin_and_release(). Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191111205024.22853-3-lucas.demarchi@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions