diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-16 11:08:51 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-16 14:05:45 +0100 |
commit | 2229adc81380c46908d46a91f05a6c1650456769 (patch) | |
tree | 8c4b4c983fb55af0fb6a0b6ceeecc647de93793a /net | |
parent | 8574685547bdc4f11cc528f386e5396212409f9c (diff) | |
download | linux-2229adc81380c46908d46a91f05a6c1650456769.tar.bz2 |
drm/i915/execlist: Trim immediate timeslice expiry
We perform timeslicing immediately upon receipt of a request that may be
put into the second ELSP slot. The idea behind this was that since we
didn't install the timer if the second ELSP slot was empty, we would not
have any idea of how long ELSP[0] had been running and so giving the
newcomer a chance on the GPU was fair. However, this causes us extra
busy work that we may be able to avoid if we wait a jiffie for the first
timeslice as normal.
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/20191016100851.4979-1-chris@chris-wilson.co.uk
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions