drm/i915/gvt: Make the MMIO attribute wrappers be inline
authorChangbin Du <changbin.du@intel.com>
Tue, 6 Jun 2017 07:56:12 +0000 (15:56 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 8 Jun 2017 05:59:20 +0000 (13:59 +0800)
commit5c6d4c676d0ccba2dcd97e47e1f10321da423e7d
treefa498f9641512f8c2f448a2f0bb573d9a8ea0e39
parent56a78de54964894de2f65c9fa8066d5e9843e1ce
drm/i915/gvt: Make the MMIO attribute wrappers be inline

Function calls are expensive. I have see obvious overhead call to
these wrappers in perf data, especially from the cmd parser side.
So make these simple wrappers be inline to kill them all.

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