]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
drm/i915: Silence the error message from i915_wait_request()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Feb 2012 20:39:12 +0000 (20:39 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 27 Feb 2012 17:08:22 +0000 (18:08 +0100)
This error message has since been superseded by the hangcheck, and does
not add any salient information beyond that already printed by hangcheck
discovering the GPU hang that lead to i915_wait_request() bombing out in
the first place.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c

index 19a06c280b12407bd25bd520272a9ca81ee7c007..6dbcec387951fa4298fce0d6572be2bca50eaa1a 100644 (file)
@@ -1985,11 +1985,6 @@ i915_wait_request(struct intel_ring_buffer *ring,
        if (atomic_read(&dev_priv->mm.wedged))
                ret = -EAGAIN;
 
-       if (ret && ret != -ERESTARTSYS)
-               DRM_ERROR("%s returns %d (awaiting %d at %d, next %d)\n",
-                         __func__, ret, seqno, ring->get_seqno(ring),
-                         dev_priv->next_seqno);
-
        /* Directly dispatch request retiring.  While we have the work queue
         * to handle this, the waiter on a request often wants an associated
         * buffer to have made it to the inactive list, and we would need