0198-drm-vc4-Drop-error-message-on-seqno-wait-timeouts.patch 932 B

123456789101112131415161718192021222324252627
  1. From e9096f6a422bb37a87dd41bc2c01163946e1bc10 Mon Sep 17 00:00:00 2001
  2. From: Eric Anholt <eric@anholt.net>
  3. Date: Mon, 25 Jan 2016 14:33:50 -0800
  4. Subject: [PATCH 198/381] drm/vc4: Drop error message on seqno wait timeouts.
  5. These ioctls end up getting exposed to userspace, and having normal
  6. user requests print DRM errors is obviously wrong. The message was
  7. originally to give us some idea of what happened when a hang occurred,
  8. but we have a DRM_INFO from reset for that.
  9. Signed-off-by: Eric Anholt <eric@anholt.net>
  10. ---
  11. drivers/gpu/drm/vc4/vc4_gem.c | 3 ---
  12. 1 file changed, 3 deletions(-)
  13. --- a/drivers/gpu/drm/vc4/vc4_gem.c
  14. +++ b/drivers/gpu/drm/vc4/vc4_gem.c
  15. @@ -352,9 +352,6 @@ vc4_wait_for_seqno(struct drm_device *de
  16. finish_wait(&vc4->job_wait_queue, &wait);
  17. trace_vc4_wait_for_seqno_end(dev, seqno);
  18. - if (ret && ret != -ERESTARTSYS)
  19. - DRM_ERROR("timeout waiting for render thread idle\n");
  20. -
  21. return ret;
  22. }