Skip to content

Commit

Permalink
Revert "drm/i915: Don't skip request retirement if the active list is…
Browse files Browse the repository at this point in the history
… empty"

This reverts commit 0aedb16.

I messed things up while applying [1] to drm-intel-fixes. Rectify.

[1] http://mid.gmane.org/1432827156-9605-1-git-send-email-ville.syrjala@linux.intel.com

Fixes: 0aedb16 ("drm/i915: Don't skip request retirement if the active list is empty")
Cc: stable@vger.kernel.org
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
  • Loading branch information
Jani Nikula committed Jun 15, 2015
1 parent 016a65a commit 245ec9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2656,6 +2656,9 @@ void i915_gem_reset(struct drm_device *dev)
void
i915_gem_retire_requests_ring(struct intel_engine_cs *ring)
{
if (list_empty(&ring->request_list))
return;

WARN_ON(i915_verify_lists(ring->dev));

/* Retire requests first as we use it above for the early return.
Expand Down

0 comments on commit 245ec9d

Please sign in to comment.