drm/i915/gvt: Delete gvt_dbg_cmd() in cmd_parser_exec()
authorXiong Zhang <xiong.y.zhang@intel.com>
Mon, 22 May 2017 21:38:09 +0000 (05:38 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 8 Jun 2017 05:59:16 +0000 (13:59 +0800)
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: Xiong Zhang <xiong.y.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/cmd_parser.c

index 5634eb1fa24bfe7045081219560c0d939579371c..51241de5e7a74ce68f7fdf732165c5ec1373f491 100644 (file)
@@ -2431,8 +2431,6 @@ static int cmd_parser_exec(struct parser_exec_state *s)
                return -EINVAL;
        }
 
-       gvt_dbg_cmd("%s\n", info->name);
-
        s->info = info;
 
        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,
        gma_tail = rb_start + rb_tail;
        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) {
                if (s->buf_type == RING_BUFFER_INSTRUCTION) {
                        if (!(s->ip_gma >= rb_start) ||
@@ -2508,8 +2504,6 @@ static int command_scan(struct parser_exec_state *s,
                }
        }
 
-       gvt_dbg_cmd("scan_end\n");
-
        return ret;
 }