Skip to content

Commit 437c308

Browse files
committed
drm/i915: Update comment before i915_spin_request
~jiffie and a few usecs is 3 orders of magnitude different. A bit much. This was changed in commit ca5b721 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Dec 11 11:32:58 2015 +0000 drm/i915: Limit the busy wait on requests to 5us not 10ms! But probably missed the comment since the change was non-local to the comment. v2: Polish comment more (Chris). Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1470413484-23775-1-git-send-email-daniel.vetter@ffwll.ch
1 parent 4194c08 commit 437c308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/i915_gem_request.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ int i915_wait_request(struct drm_i915_gem_request *req,
643643
if (IS_RPS_CLIENT(rps) && INTEL_GEN(req->i915) >= 6)
644644
gen6_rps_boost(req->i915, rps, req->emitted_jiffies);
645645

646-
/* Optimistic spin for the next ~jiffie before touching IRQs */
646+
/* Optimistic short spin before touching IRQs */
647647
if (i915_spin_request(req, state, 5))
648648
goto complete;
649649

0 commit comments

Comments
 (0)