drm/vc4: Drop error message on seqno wait timeouts.
authorEric Anholt <eric@anholt.net>
Mon, 25 Jan 2016 22:33:50 +0000 (14:33 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 16 Feb 2016 20:20:59 +0000 (12:20 -0800)
These ioctls end up getting exposed to fairly directly to GL users,
and having normal user operations print DRM errors is obviously wrong.
The message was originally to give us some idea of what happened when
a hang occurred, but we have a DRM_INFO from reset for that.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_gem.c

index 15619dbf34ca7773cb7091e50a048878443df8a9..a9d020e7e891c89d14d139baa6d5a71aff2d2949 100644 (file)
@@ -340,9 +340,6 @@ vc4_wait_for_seqno(struct drm_device *dev, uint64_t seqno, uint64_t timeout_ns,
        finish_wait(&vc4->job_wait_queue, &wait);
        trace_vc4_wait_for_seqno_end(dev, seqno);
 
-       if (ret && ret != -ERESTARTSYS)
-               DRM_ERROR("timeout waiting for render thread idle\n");
-
        return ret;
 }