]> git.baikalelectronics.ru Git - 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)
commitb02ff11f618e671c4ab3bb62298ab8d9518b6632
tree6340bbb50c4a8ad0e737070a8a8265968c7d8b4f
parent653c50e65047509bb628a8750ad45751469b73cf
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