]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Tuning the size of MMIO hash lookup table to 2048
authorChangbin Du <changbin.du@intel.com>
Tue, 6 Jun 2017 07:56:14 +0000 (15:56 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 8 Jun 2017 05:59:21 +0000 (13:59 +0800)
commit36515499b2eefaecbfbce4e9bbda43548d71cb92
treee02e5bbfa5e745c1e1a060fa4837253304de95fc
parent261600979a878ccea8a6ed952f30b659248c5b73
drm/i915/gvt: Tuning the size of MMIO hash lookup table to 2048

On Skylake platform, The traced virtual mmio registers are up to 2039.
So tuning the hash table size to improve lookup performance.

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