diff options
author | 2019-11-03 16:23:05 +0000 | |
---|---|---|
committer | 2019-11-05 09:56:03 +0200 | |
commit | 8eb4704b124cbd44f189709959137d77063ecfa1 (patch) | |
tree | 609ccf8b5d80699cab78194934bd6c2c699db07d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'drm-next-5.5-2019-11-01' of git://people.freedesktop.org/~agd5f/linux into drm-next (diff) | |
download | linux-rng-8eb4704b124cbd44f189709959137d77063ecfa1.tar.xz linux-rng-8eb4704b124cbd44f189709959137d77063ecfa1.zip |
drm/i915: Protect request peeking with RCU
Since the execlists_active() is no longer protected by the
engine->active.lock, we need to protect the request pointer with RCU to
prevent it being freed as we evaluate whether or not we need to preempt.
Fixes: df403069029d ("drm/i915/execlists: Lift process_csb() out of the irq-off spinlock")
Fixes: 13ed13a4dcbf ("drm/i915: Don't set queue_priority_hint if we don't kick the submission")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191104090158.2959-2-chris@chris-wilson.co.uk
(cherry picked from commit 7d148635253328dda7cfe55d57e3c828e9564427)
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