aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorWeinan Li <[email protected]>2017-12-13 02:47:00 +0000
committerZhenyu Wang <[email protected]>2017-12-18 08:30:07 +0000
commite47107ad37c3774be9d5bf6fb4625c59e59f632c (patch)
tree4a2e58760f1c5443c34fbe7688b60af9c79f5da9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/i915/gvt: refine trace_render_mmio (diff)
downloadkernel-e47107ad37c3774be9d5bf6fb4625c59e59f632c.tar.gz
kernel-e47107ad37c3774be9d5bf6fb4625c59e59f632c.zip
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 <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions