Commit 089f93c3 authored by Xiong Zhang's avatar Xiong Zhang Committed by Zhenyu Wang

drm/i915/gvt: Delete gvt_dbg_cmd() in cmd_parser_exec()

Since cmd message have been recorded in trace, gvt_dbg_cmd isn't
necessary. This will reduce much of dmesg as gvt_dbg_cmd is repeated
on each workload.
Signed-off-by: default avatarXiong Zhang <xiong.y.zhang@intel.com>
Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
parent 7fb6a7d6
...@@ -2431,8 +2431,6 @@ static int cmd_parser_exec(struct parser_exec_state *s) ...@@ -2431,8 +2431,6 @@ static int cmd_parser_exec(struct parser_exec_state *s)
return -EINVAL; return -EINVAL;
} }
gvt_dbg_cmd("%s\n", info->name);
s->info = info; s->info = info;
trace_gvt_command(vgpu->id, s->ring_id, s->ip_gma, s->ip_va, trace_gvt_command(vgpu->id, s->ring_id, s->ip_gma, s->ip_va,
...@@ -2478,8 +2476,6 @@ static int command_scan(struct parser_exec_state *s, ...@@ -2478,8 +2476,6 @@ static int command_scan(struct parser_exec_state *s,
gma_tail = rb_start + rb_tail; gma_tail = rb_start + rb_tail;
gma_bottom = rb_start + rb_len; gma_bottom = rb_start + rb_len;
gvt_dbg_cmd("scan_start: start=%lx end=%lx\n", gma_head, gma_tail);
while (s->ip_gma != gma_tail) { while (s->ip_gma != gma_tail) {
if (s->buf_type == RING_BUFFER_INSTRUCTION) { if (s->buf_type == RING_BUFFER_INSTRUCTION) {
if (!(s->ip_gma >= rb_start) || if (!(s->ip_gma >= rb_start) ||
...@@ -2508,8 +2504,6 @@ static int command_scan(struct parser_exec_state *s, ...@@ -2508,8 +2504,6 @@ static int command_scan(struct parser_exec_state *s,
} }
} }
gvt_dbg_cmd("scan_end\n");
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment