diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-01-09 21:59:32 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-01-09 22:23:31 +0000 |
commit | d22ba0cb1ffeffa5bf37b7cfab7958706daffee4 (patch) | |
tree | 4b94fd921be0a7f03911d8623ba56102fc2c1789 /drivers/gpu/drm/amd/amdgpu/atom.c | |
parent | 4e8052af858a6ea2cf656bdb6dbcf16dd87a39c1 (diff) |
drm/i915: Reduce i915_request_alloc retirement to local context
In the continual quest to reduce the amount of global work required when
submitting requests, replace i915_retire_requests() after allocation
failure to retiring just our ring.
v2: Don't forget the list iteration included an early break, so we would
never throttle on the last request in the ring/timeline.
v3: Use the common ring_retire_requests()
References: 11abf0c5a021 ("drm/i915: Limit the backpressure for i915_request allocation")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190109215932.26454-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions