diff options
author | Chris Wilson <[email protected]> | 2019-08-21 15:23:36 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-08-21 17:32:27 +0100 |
commit | a20ab592d1a87218229109d109b8e2feae6f598d (patch) | |
tree | cdfae217ce0cae56dfa552ecbc849f2d6e003d48 /net/switchdev/switchdev.c | |
parent | 6846895fde05558a39ffcee7631a802a923d9b16 (diff) |
drm/i915/execlists: Set priority hint prior to submission
Since we now run process_csb() outside of the engine->active.lock, we
can process a CS-event immediately upon our ELSP write. As we currently
inspect the pending queue *after* the ELSP write, there is an
opportunity for a CS-event to update the pending queue before we can
read it, making ourselves chases an invalid pointer.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111427
Fixes: df403069029d ("drm/i915/execlists: Lift process_csb() out of the irq-off spinlock")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions