diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-12-24 16:55:44 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-12-24 18:02:41 +0300 |
commit | 177b7a52a16a0f9b9075119308ed3d8d5a8640cc (patch) | |
tree | 0b2d170eb87b0ec1b18f96463af9dbf6684bf9dd /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | ac1a6d7310e238b4781708283d441625c8e7da25 (diff) | |
download | linux-177b7a52a16a0f9b9075119308ed3d8d5a8640cc.tar.xz |
drm/i915/gt: ce->inflight updates are now serialised
Since schedule-in and schedule-out are now both always under the tasklet
bitlock, we can reduce the individual atomic operations to simple
instructions and worry less.
This notably eliminates the race observed with intel_context_inflight in
__engine_unpark().
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2583
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201224135544.1713-9-chris@chris-wilson.co.uk
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions