diff options
author | 2018-06-05 12:24:43 +0000 | |
---|---|---|
committer | 2018-06-05 15:16:08 +0100 | |
commit | b96f6ebfd02444b290ff5048c1ae61f5d3d52319 (patch) | |
tree | a5b5cfb207a5e44c5f8955fd0bdc8c99b137dce6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/vma: Move the bind_count vs pin_count assertion to a helper (diff) | |
download | wireguard-linux-b96f6ebfd02444b290ff5048c1ae61f5d3d52319.tar.xz wireguard-linux-b96f6ebfd02444b290ff5048c1ae61f5d3d52319.zip |
drm/i915: Correctly handle error path in i915_gem_init_hw
In function gem_init_hw() we are calling uc_init_hw() but in case
of error later in function, we missed to call matching uc_fini_hw()
v2: pulled out from the series
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180605122443.23776-1-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions