diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-12-24 16:55:39 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-12-24 18:02:38 +0300 |
commit | 6f0726b4807c1e16a88c4cfd2577c9bff265d35a (patch) | |
tree | fc1fa701cd163086aa70e155d5dab5f21292f8d5 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 2efa2c522ab0df5176b59274d2e7d16608e3c6ca (diff) | |
download | linux-6f0726b4807c1e16a88c4cfd2577c9bff265d35a.tar.xz |
drm/i915/gt: Defer schedule_out until after the next dequeue
Inside schedule_out, we do extra work upon idling the context, such as
updating the runtime, kicking off retires, kicking virtual engines.
However, if we are in a series of processing single requests per
contexts, we may find ourselves scheduling out the context, only to
immediately schedule it back in during dequeue. This is just extra work
that we can avoid if we keep the context marked as inflight across the
dequeue. This becomes more significant later on for minimising virtual
engine misses.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201224135544.1713-4-chris@chris-wilson.co.uk
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions