diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-05-03 22:54:16 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-05-04 09:30:32 +0300 |
commit | 74f9474124ea53f98866e434a8080f1538b8c2b7 (patch) | |
tree | 0954e540b50becc3ab2889b3ce50eac86b5bf39f /mm | |
parent | 7c572e1bdf8dea0c84ce8da01a84cdaa26d8e138 (diff) | |
download | linux-74f9474124ea53f98866e434a8080f1538b8c2b7.tar.xz |
drm/i915/execlists: Drop preemption arbitrations points along the ring
Limit the arbitration (where preemption may occur) to inside the batch,
and prevent it from happening on the pipecontrols/flushes we use to
write the breadcrumb seqno. Once the user batch is complete, we have
nothing left to do but serialise and emit the breadcrumb; switching
contexts at this point is futile so don't.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: MichaĆ Winiarski <michal.winiarski@intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180503195416.22498-1-chris@chris-wilson.co.uk
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions