summaryrefslogtreecommitdiff
path: root/drivers/vme
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-06-23 15:45:32 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-08-10 10:26:06 +0800
commit4671ea204179dc705d4b0c31045e6acdfd6e59e8 (patch)
tree852888a135c1fc7cf5c0bced5262cb925ae05726 /drivers/vme
parentf846c8de64ced9965e04cc9ae1922036175e395b (diff)
drm/i915/gvt: Optimize ring siwtch 2x faster again by light weight mmio access wrapper
The I915_READ/WRITE is not only a mmio read/write, it also contains debug checking and Forcewake domain lookup. This is too heavy for GVT ring switch case which access batch of mmio registers on ring switch. We can handle Forcewake manually and use the raw i915_read/write instead. The benefit from this is 2x faster mmio switch performance. Before After cycles ~550000 ~250000 v2: Use existing I915_READ_FW/I915_WRITE_FW macro. (zhenyu) Signed-off-by: Changbin Du <changbin.du@intel.com> Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions