diff options
author | 2020-08-19 16:08:53 +0200 | |
---|---|---|
committer | 2020-09-07 14:31:02 +0300 | |
commit | 3999a7087989af0bfb9406b77d3d8444031aab7d (patch) | |
tree | cd83e17e64f0e7bf5605128706c45ed1e294478d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Pin engine before pinning all objects, v5. (diff) | |
download | linux-rng-3999a7087989af0bfb9406b77d3d8444031aab7d.tar.xz linux-rng-3999a7087989af0bfb9406b77d3d8444031aab7d.zip |
drm/i915: Rework intel_context pinning to do everything outside of pin_mutex
Instead of doing everything inside of pin_mutex, we move all pinning
outside. Because i915_active has its own reference counting and
pinning is also having the same issues vs mutexes, we make sure
everything is pinned first, so the pinning in i915_active only needs
to bump refcounts. This allows us to take pin refcounts correctly
all the time.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200819140904.1708856-14-maarten.lankhorst@linux.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