diff options
author | 2020-07-31 09:50:10 +0100 | |
---|---|---|
committer | 2020-09-07 13:18:01 +0300 | |
commit | 04240e30ed06498c02dd43e57dfef9433e5f1ced (patch) | |
tree | 925a9f632da863fbbe3e0f9c538bdca051427e4b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/selftests: Drop stale timeline constructor assert (diff) | |
download | linux-rng-04240e30ed06498c02dd43e57dfef9433e5f1ced.tar.xz linux-rng-04240e30ed06498c02dd43e57dfef9433e5f1ced.zip |
drm/i915: Skip taking acquire mutex for no ref->active callback
If no active callback is defined for i915_active, we do not need to
serialise its enabling with the mutex. We still do only want to call the
debug activate once, and must still serialise with a concurrent retire.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200731085015.32368-2-chris@chris-wilson.co.uk
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions