From: Eric Anholt Date: Mon, 25 Jan 2016 22:33:50 +0000 (-0800) Subject: drm/vc4: Drop error message on seqno wait timeouts. X-Git-Tag: MMI-PSA29.97-13-9~8486^2~2^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ee94657e2bbd13b358060edc91b2b2fdef9038f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/vc4: Drop error message on seqno wait timeouts. 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 --- diff --git a/drivers/gpu/drm/vc4/vc4_gem.c b/drivers/gpu/drm/vc4/vc4_gem.c index 15619dbf34ca..a9d020e7e891 100644 --- a/drivers/gpu/drm/vc4/vc4_gem.c +++ b/drivers/gpu/drm/vc4/vc4_gem.c @@ -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; }