drm/i915/gvt: refine trace_render_mmio
authorWeinan Li <weinan.z.li@intel.com>
Wed, 13 Dec 2017 02:46:59 +0000 (10:46 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 18 Dec 2017 08:30:03 +0000 (16:30 +0800)
commitdc5718f47cda438f47420591f4ac7338d7964bce
treefbcb2f45133df035e4cdd00cd2e3b3916bd70410
parent2ef6765ccaab2c69470d7049d9a9bf6456a6e666
drm/i915/gvt: refine trace_render_mmio

Refine trace_render_mmio to show the vm id before and after vgpu switch,
tag host id as '0', this patch will be used in the future patch for refine
mocs switch policy.

Signed-off-by: Weinan Li <weinan.z.li@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/mmio_context.c
drivers/gpu/drm/i915/gvt/trace.h