diff options
author | 2018-03-05 14:21:21 -0800 | |
---|---|---|
committer | 2018-03-06 09:34:40 +0000 | |
commit | 53b725c7db127d16d1a83ed5dfd601d65fe976fb (patch) | |
tree | d8c5493b411714e9e66f957016c9d9863e537a45 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/error: remove unused gen8_engine_sync_index (diff) | |
download | wireguard-linux-53b725c7db127d16d1a83ed5dfd601d65fe976fb.tar.xz wireguard-linux-53b725c7db127d16d1a83ed5dfd601d65fe976fb.zip |
drm/i915/error: standardize function style in error capture
some of the static functions used from capture() have the "i915_"
prefix while other don't; most of them take i915 as a parameter, but one
of them derives it internally from error->i915. Let's be consistent by
avoiding prefix for static functions and by getting i915 from
error->i915. While at it, s/dev_priv/i915 in functions that don't
perform register reads.
v2: take i915 from error->i915 (Michal), s/dev_priv/i915,
update commit message
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180305222122.3547-2-daniele.ceraolospurio@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions