summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_oa_glk.c
diff options
context:
space:
mode:
authorWeinan Li <weinan.z.li@intel.com>2017-12-13 10:47:00 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-12-18 16:30:07 +0800
commite47107ad37c3774be9d5bf6fb4625c59e59f632c (patch)
tree4a2e58760f1c5443c34fbe7688b60af9c79f5da9 /drivers/gpu/drm/i915/i915_oa_glk.c
parentdc5718f47cda438f47420591f4ac7338d7964bce (diff)
drm/i915/gvt: optimize for vGPU mmio switch
Now mmio switch between vGPUs need to switch to host first then to expected vGPU, it waste one time mmio save/restore. r/w mmio usually is time-consuming, and there are so many mocs registers need to save/restore during vGPU switch. Combine the switch_to_host and switch_to_vgpu can reduce 1 time mmio save/restore, it will reduce the CPU utilization and performance while there is multi VMs with heavy work load. Signed-off-by: Weinan Li <weinan.z.li@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_oa_glk.c')
0 files changed, 0 insertions, 0 deletions