freedreno/drm: Quiet timedout error msg

This isn't terribly interesting, but got more chatty when we converted
to mesa_loge() vs debug_printf()

Fixes: 156d7e45f7 ("freedreno: Convert to mesa_log*()")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7717>
This commit is contained in:
Rob Clark
2020-11-22 09:07:02 -08:00
committed by Marge Bot
parent 98d182fd46
commit 9de6a601ce

View File

@@ -117,12 +117,11 @@ static int msm_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp,
get_abs_timeout(&req.timeout, timeout); get_abs_timeout(&req.timeout, timeout);
ret = drmCommandWrite(dev->fd, DRM_MSM_WAIT_FENCE, &req, sizeof(req)); ret = drmCommandWrite(dev->fd, DRM_MSM_WAIT_FENCE, &req, sizeof(req));
if (ret) { if (ret && (ret != -ETIMEDOUT)) {
ERROR_MSG("wait-fence failed! %d (%s)", ret, strerror(errno)); ERROR_MSG("wait-fence failed! %d (%s)", ret, strerror(errno));
return ret;
} }
return 0; return ret;
} }
static int open_submitqueue(struct fd_pipe *pipe, uint32_t prio) static int open_submitqueue(struct fd_pipe *pipe, uint32_t prio)