]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ee89bd0e9e42a744b1b463b56141e4e8542f0c3
treefa498f9641512f8c2f448a2f0bb573d9a8ea0e39
parent9d25e278e7068ba223eab467a276f7112970e513
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