]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915/gvt: Reduce rcs mocs switch latency
authorChangbin Du <changbin.du@intel.com>
Mon, 30 Oct 2017 06:19:15 +0000 (14:19 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:48:33 +0000 (11:48 +0800)
commitffe2a503b06cc300e25c1dfc00c85a2240cf97d7
tree6340bbb50c4a8ad0e737070a8a8265968c7d8b4f
parent0bde438b7e2200fc961625ac7b828cbc8c6d78e1
drm/i915/gvt: Reduce rcs mocs switch latency

Use I915_WRITE_FW instead of I915_WRITE to reduce overhead.
The overall mmio switch latency lowers from ~600us to ~180us.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/render.c