From 6117a1bc7b1c72718ced1a2a4e86d5a9027d1a6a Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 18 Jan 2022 17:01:39 -0800 Subject: [PATCH] vrend: log dispatch failures v2: vrend_print need '\n' (Yiwei) Signed-off-by: Chia-I Wu Reviewed-by: Ryan Neph Reviewed-by: Yiwei Zhang --- src/vrend_decode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vrend_decode.c b/src/vrend_decode.c index 72fb6f9..57bebf3 100644 --- a/src/vrend_decode.c +++ b/src/vrend_decode.c @@ -1741,6 +1741,8 @@ static int vrend_decode_ctx_submit_cmd(struct virgl_context *ctx, ret = decode_table[cmd](gdctx->grctx, buf, len); if (ret) { + vrend_printf("context %d failed to dispatch %s: %d\n", + gdctx->base.ctx_id, vrend_get_comand_name(cmd), ret); if (ret == EINVAL) vrend_report_buffer_error(gdctx->grctx, *buf); return ret;