summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAlex Dai <yu.dai@intel.com>2016-01-13 22:01:50 +0300
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-01-18 12:58:49 +0300
commita9d8adad731171559b24eb27c9db4a64238b7ef0 (patch)
treef8b6f3486617e3bb3189ff699b6f1b1a2843fa75 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent82352e908acd36d7244c75a008c9f27a2ced44d5 (diff)
downloadlinux-a9d8adad731171559b24eb27c9db4a64238b7ef0.tar.xz
drm/i915/guc: Fix a memory leak where guc->execbuf_client is not freed
During driver unloading, the guc_client created for command submission needs to be released to avoid memory leak. The struct_mutex needs to be held before tearing down GuC. v1: Move i915_guc_submission_disable out of i915_guc_submission_fini and take struct_mutex lock before release GuC client. (Dave Gordon) v2: Add the locking for failure case in guc_fw_fetch. (Dave Gordon) Add i915_guc_submission_fini for failure case in intel_guc_ucode_load. Signed-off-by: Alex Dai <yu.dai@intel.com> Reviewed-by: Dave Gordon <david.s.gordon@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1452711710-4505-1-git-send-email-yu.dai@intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions